Commit 18f2feaa by 徐高华

查询企微id

parent 91ab150a
......@@ -95,7 +95,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
TabHaobanWxEnterprise wxEnterprise = this.wxEnterpriseService.getEnterpriseBycorpId(corpid);
// 调用企微接口
String serviceCorpid = config.getCorpid();
String openCorpid = qywxUserApiService.toOpenCorpid(serviceCorpid, corpid);
String openCorpid = qywxUserApiService.toOpenCorpid(corpid,serviceCorpid);
log.info("查询企微id,入参={},返回={}",corpid , openCorpid);
if(StringUtils.isNotBlank(openCorpid) && !openCorpid.equals(corpid)) {
wxEnterprise = this.wxEnterpriseService.getEnterpriseBycorpId(openCorpid);
......
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