Browse Source

[消息][新增]:检查是否已关注公众号

release_toaliyun_real
Stormeye Wu 7 years ago
parent
commit
3e0812d000
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java

+ 4
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java View File

@@ -610,7 +610,10 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {
}

// 7. 公众号消息
if(StringUtils.isNotBlank(user.getMpAppId()) && StringUtils.isNotBlank(user.getMpOpenId())) {
if(StringUtils.isNotBlank(user.getMpAppId()) &&
StringUtils.isNotBlank(user.getMpOpenId()) &&
user.getMpSubscribe().equals(EnumUserIsSubscribe.YES.getCode())) {
// 已关注公众号
/**
* 卡券核销通知
* {{first.DATA}}


Loading…
Cancel
Save