Commit 1c01ea12 authored by shiyu's avatar shiyu

小程序订阅消息跳转测试2

parent 093edf65
......@@ -569,7 +569,7 @@ public class SpecialPerformanceServiceImpl implements SpecialPerformanceService
auctionOfferNoticeMsg.setSpecialId(specialPerformance.getId());
Result result = sendMsgService.sendSpecialPerformanceStartMsg(auctionOfferNoticeMsg);
if (!result.getSuccess()) {
String errorCode = JsonUtils.getValueByPath(result.getData().toString(), "errcode");
String errorCode = JsonUtils.getValueByPath(result.getErrmsg(), "errcode");
//用户为订阅消息,43101用户未订阅消息;43108并发下发消息给同一个粉丝,这两种情况表示用户不需要被通知
if (!"43101".equals(errorCode) && !"43108".equals(errorCode)) {
//发订阅消息送失败发短信
......
......@@ -246,7 +246,7 @@ public class SpecialPerformanceNoticeJob {
auctionOfferNoticeMsg.setSpecialId(specialPerformance.getId());
Result result = sendMsgService.sendSpecialPerformanceStartMsg(auctionOfferNoticeMsg);
if (!result.getSuccess()) {
String errorCode = JsonUtils.getValueByPath(result.getData().toString(), "errcode");
String errorCode = JsonUtils.getValueByPath(result.getErrmsg(), "errcode");
//用户为订阅消息,43101用户未订阅消息;43108并发下发消息给同一个粉丝,这两种情况表示用户不需要被通知
if (!"43101".equals(errorCode) && !"43108".equals(errorCode)) {
//发订阅消息送失败发短信
......@@ -272,7 +272,7 @@ public class SpecialPerformanceNoticeJob {
auctionOfferNoticeMsg.setSpecialId(specialPerformance.getId());
Result result = sendMsgService.sendSpecialPerformanceEndMsg(auctionOfferNoticeMsg);
if (!result.getSuccess()) {
String errorCode = JsonUtils.getValueByPath(result.getData().toString(), "errcode");
String errorCode = JsonUtils.getValueByPath(result.getErrmsg(), "errcode");
//用户为订阅消息,43101用户未订阅消息;43108并发下发消息给同一个粉丝,这两种情况表示用户不需要被通知
if (!"43101".equals(errorCode) && !"43108".equals(errorCode)) {
//发订阅消息送失败发短信
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment