Commit 200e4a16 by ext.shengxiyong1

Merge branch 'master' of https://gitee.com/LinkWeChat/link-wechat

2 parents d3fdc44b 89f2ab03
......@@ -111,7 +111,7 @@ public class WeAccessTokenServiceImpl implements IWeAccessTokenService {
WeApp weApp=null;
//首先表中查询提醒的appid
WeCorpAccount weCorpAccount = iWxCorpAccountService.findValidWeCorpAccount();
if(weCorpAccount != null){
if(weCorpAccount != null && StringUtils.isNotEmpty(weCorpAccount.getAgentId())){
if(weCorpAccount.getAgentId().equals(agentId)){
weApp=WeApp.builder()
.agentId(weCorpAccount.getAgentId())
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!