格式化飞书通知跳转链接方法错误
This commit is contained in:
@@ -193,7 +193,7 @@ public class EventCenterHttpRequest {
|
|||||||
res.put(PC_PATH_KEY, pcMessageFormat.format(objects));
|
res.put(PC_PATH_KEY, pcMessageFormat.format(objects));
|
||||||
}
|
}
|
||||||
if (mobilePath.contains("{0}")) {
|
if (mobilePath.contains("{0}")) {
|
||||||
MessageFormat mobileMessageFormat = new MessageFormat(pcPath);
|
MessageFormat mobileMessageFormat = new MessageFormat(mobilePath);
|
||||||
paramsCount = Math.max(mobileMessageFormat.getFormatsByArgumentIndex().length, paramsCount);
|
paramsCount = Math.max(mobileMessageFormat.getFormatsByArgumentIndex().length, paramsCount);
|
||||||
res.put(MOBILE_PATH_KEY, mobileMessageFormat.format(objects));
|
res.put(MOBILE_PATH_KEY, mobileMessageFormat.format(objects));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user