Commit a197faaf by 水库浪子 Committed by Gitee

update linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeAccessTokenServiceImpl.java.

1 parent 4ed1e229
......@@ -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!