Commit 67075f14 by 徐高华

Merge branch 'master-xgh-好办停用' into 'developer'

corpid

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