修改模板替换。
This commit is contained in:
parent
5cc50e6d48
commit
a3dd0a9804
@ -789,6 +789,9 @@ public class SignPatientManageRouteServiceImpl implements ISignPatientManageRout
|
||||
return null;
|
||||
}
|
||||
String templateContent = wechatTemplate.getTemplateContent();
|
||||
if (StringUtils.isEmpty(templateContent)) {
|
||||
return null;
|
||||
}
|
||||
Pattern pattern = Pattern.compile("#\\{([^\\}]*)\\}");
|
||||
Matcher matcher = pattern.matcher(templateContent);
|
||||
while (matcher.find()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user