Commit e4b14482 authored by 赵啸非's avatar 赵啸非

初始化站点资源

parent c488a90a
...@@ -371,6 +371,21 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE ...@@ -371,6 +371,21 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
// this.updateAllSiteTree(context); // this.updateAllSiteTree(context);
userService.refreshUser(); userService.refreshUser();
} }
//通知php系统更新
String phpUrl = GlobalSysInfo.getParamValue(PARAM_SERVER_PHP_HTTP_URL, "http://127.0.0.1:11078/zwfw_api");
HashMap<String, String> paramsMap = new HashMap<>();
paramsMap.put("siteid", entity.getId().toString());
phpUrl += "/api/site/updateSite";
String resp = null;
try {
resp = HttpUtil.doGet(phpUrl, paramsMap);
log.info("thirdPartyUrl updateSite =>resp:{}", resp);
} catch (Exception e) {
log.error("异常:", e);
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment