Commit 4feb6cc3 by jinxin

新增自建应用同步新增

parent 8f9e71f1
......@@ -536,7 +536,10 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
}
//默认是自建应用
enterpriseDTO.setWxSecurityType(5);
wxEnterpriseService.add(enterpriseDTO);
String wxEnterpriseId = wxEnterpriseService.add(enterpriseDTO);
//同步更新
Date now = new Date();
haobanWxEnterpriseApiService.saveOrUpdate(wxEnterpriseId,enterpriseDTO.getCorpName(),enterpriseDTO.getCorpSquareLogoUrl(),1,now,now);
}else {
if(null != wxEnterpriseDTO && (!enterpriseDTO.getWxEnterpriseId().equals(wxEnterpriseDTO.getWxEnterpriseId()))){
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