Authored by unknown

Merge branch 'master' into dev-2683微信服务号客服消息

... ... @@ -175,6 +175,11 @@ public class MiniServiceAppImpl implements IMiniAppService {
AccessToken accessToken = miniAppAccessTokenService.getTokenCache(reqBO.getMiniappType());
if(accessToken == null){
logger.warn("sendTemplateMsg with accessToken is null,templateId is {},reqBO is {}",reqBO.getTemplateId(),reqBO);
return null;
}
StringBuilder urlBuilder = new StringBuilder(getMsgSendUrl());
urlBuilder.append("access_token=");
urlBuilder.append(accessToken.getToken());
... ... @@ -195,6 +200,4 @@ public class MiniServiceAppImpl implements IMiniAppService {
return result;
}
}
... ...