Commit be6a36bb by 徐高华

corpid

parent 6d5b7de5
......@@ -90,6 +90,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
public void callbackReviceEnterprise(QywxCorpInfoSimpleDTO dto) {
log.info("企业微信授权信息:{}", JSON.toJSONString(dto));
String corpid = dto.getCorpid();
String corpidIn = dto.getCorpid();
String corpName = dto.getCorpName();
String siteId = dto.getSuiteId();
String agentId = dto.getAgentid();
......@@ -156,6 +157,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
wxApplicationService.insert(haobanWxApplication);
} else {
haobanWxApplication.setPermanentCode(permanentCode);
haobanWxApplication.setCorpid(corpidIn);
wxApplicationService.update(haobanWxApplication);
}
// 企业代开发Secret = permanentCode
......
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