Commit f25ca3bb by jinxin

好办初始化权限

parent 4feb6cc3
...@@ -540,6 +540,9 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService { ...@@ -540,6 +540,9 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
//同步更新 //同步更新
Date now = new Date(); Date now = new Date();
haobanWxEnterpriseApiService.saveOrUpdate(wxEnterpriseId,enterpriseDTO.getCorpName(),enterpriseDTO.getCorpSquareLogoUrl(),1,now,now); haobanWxEnterpriseApiService.saveOrUpdate(wxEnterpriseId,enterpriseDTO.getCorpName(),enterpriseDTO.getCorpSquareLogoUrl(),1,now,now);
//好办权限初始化
log.info("插入好办小程序权限:{}",wxEnterpriseId);
haobanRoleApiService.addHaobanRole(wxEnterpriseId);
}else { }else {
if(null != wxEnterpriseDTO && (!enterpriseDTO.getWxEnterpriseId().equals(wxEnterpriseDTO.getWxEnterpriseId()))){ if(null != wxEnterpriseDTO && (!enterpriseDTO.getWxEnterpriseId().equals(wxEnterpriseDTO.getWxEnterpriseId()))){
return ServiceResponse.failure("-9999","自建小程序的appid存在重复!"); return ServiceResponse.failure("-9999","自建小程序的appid存在重复!");
......
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