提交 5d787742 编写于 作者: zhouweidong's avatar zhouweidong

job逻辑优化

上级 487aedff
...@@ -97,7 +97,7 @@ public class PermissionSyncJob implements ApplicationRunner { ...@@ -97,7 +97,7 @@ public class PermissionSyncJob implements ApplicationRunner {
String strPermission = IOUtils.toString(permission, "UTF-8"); String strPermission = IOUtils.toString(permission, "UTF-8");
JSONObject system = new JSONObject() {{ JSONObject system = new JSONObject() {{
put("pssystemid", systemId); put("pssystemid", systemId);
put("pssystemid", systemName); put("pssystemname", systemName);
put("sysstructure", JSONObject.parseObject(strPermission)); put("sysstructure", JSONObject.parseObject(strPermission));
put("md5check", DigestUtils.md5DigestAsHex(strPermission.getBytes())); put("md5check", DigestUtils.md5DigestAsHex(strPermission.getBytes()));
}}; }};
...@@ -168,7 +168,6 @@ public class PermissionSyncJob implements ApplicationRunner { ...@@ -168,7 +168,6 @@ public class PermissionSyncJob implements ApplicationRunner {
log.error("向[notify]同步消息模板失败,请检查[notify]服务是否正常运行! {}", ex.getMessage()); log.error("向[notify]同步消息模板失败,请检查[notify]服务是否正常运行! {}", ex.getMessage());
} }
</#if> </#if>
<#if hasPredefinedCodeList> <#if hasPredefinedCodeList>
try { try {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册