Commit 69b313d0 by 徐高华

企微自建转代开发调整

parent c6b2ecd5
......@@ -123,13 +123,16 @@ public class WxEnterpriseServiceImpl implements WxEnterpriseService {
qw.setSelf3thSecret(this.getSecret(qw, config.getWxSuiteid()));
// 只使用代开发(用于从自建转代开发)
if(qw.getWxSecurityType()==6) {
qw.setHbWxaAppid(config.getAppid());
qw.setUrlHost(null);
qw.setDkCorpid(wxEnterprise.getWxCorpid());
qw.setThirdCorpid(wxEnterprise.getWxCorpid());
qw.setMemberCorpid(wxEnterprise.getWxCorpid());
TabSecretSetting secret = secretSettingMapper.getSecretSetting(wxEnterpriseId, SecretTypeEnum.CUSTOMIZED_APP.getVal(), null);
qw.setSelfSecret(secret.getSecretVal());
qw.setAgentId(secret.getAgentId());
qw.setAgentName(secret.getAgentName());
qw.setSelf3thSecret(secret.getSecretVal());
qw.setUrlHost(null);
qw.setSelfAppid(wxEnterprise.getWxaAppid());
}
logger.info("企微所有corpid信息={}",JSON.toJSON(qw));
return qw;
......
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