ソースを参照

[微信消息][修改]:失败不抛异常

release_toaliyun_real
Stormeye Wu 7年前
コミット
5829d7e722
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponSendServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxCouponSendServiceImpl.java ファイルの表示

@@ -303,7 +303,7 @@ public class WxCouponSendServiceImpl implements WxCouponSendService {
mqBaseProducer.sendMessage(mpAppMsg, EnumMsgMqTopic.DEFAULT.getCode(), EnumMsgMqTag.DEFAULT.getCode(),EnumMsgMqKey.DEFAULT.getCode());
} catch (Exception e) {
logger.error("购票成功-公众号-模板消息发送失败: " + e.getMessage());
throw new MallinkException(ErrorCode.MP_TEMPLATE_SEND_FAILED);
//throw new MallinkException(ErrorCode.MP_TEMPLATE_SEND_FAILED);
}
} else {
// 可能未关注公众号, 用户可能收不到
@@ -334,7 +334,7 @@ public class WxCouponSendServiceImpl implements WxCouponSendService {
mqBaseProducer.sendMessage(appUniformMsg, EnumMsgMqTopic.DEFAULT.getCode(),EnumMsgMqTag.DEFAULT.getCode(),EnumMsgMqKey.DEFAULT.getCode());
} catch (Exception e) {
logger.error("核销-公众号-模板消息发送失败: " + e.getMessage());
throw new MallinkException(ErrorCode.UNIFORM_SEND_FAILED);
//throw new MallinkException(ErrorCode.UNIFORM_SEND_FAILED);
}
}
}


読み込み中…
キャンセル
保存