修复未登录微信客户错误

This commit is contained in:
huangdeliang
2021-05-18 20:44:02 +08:00
parent 1cadc3e777
commit 7358117a3b
2 changed files with 26 additions and 15 deletions

View File

@ -75,7 +75,7 @@ public class WeChartAppletServiceImp implements IWechatAppletService {
@Override
public Integer postSubscribeMessage(Long cusId, Long planId, String name, String startDate, String endDate, String remark) {
SysWxUserInfo sysWxUserInfo = sysWxUserInfoService.selectSysWxUserInfoByCusId(cusId);
if (StringUtils.isNull(sysWxUserInfo)) {
if (StringUtils.isNull(sysWxUserInfo) || StringUtils.isNull(sysWxUserInfo.getAppid())) {
return -1;
}