Authored by qinchao

加 push

... ... @@ -476,6 +476,11 @@ public class InBoxFacade {
logger.info("record buyerMiniFaultCreate inbox msg, buyerUid {} ,orderCode {} ,psog {},product {},resp {}",
buyerUid, orderCode ,psog,JSON.toJSONString(product),resp);
//发push
SendMessageRspBo bo = ufoSendService.buyerFlawConfirm(String.valueOf(buyerUid),String.valueOf(orderCode));
logger.info("record buyerMiniFaultCreate push buyer uid is {}, orderCode is {}, result is {}", buyerUid, orderCode, JSON.toJSONString(bo));
//短信
String phone = userProxyService.getMobile(buyerUid);
if (StringUtils.isBlank(phone)){
... ... @@ -797,6 +802,10 @@ public class InBoxFacade {
logger.info("record sellerSkupPaidByBuyer inbox msg, SellerOrderGoods {} ,sellerUid {}, prdName {}, sizeName {} timelimitDesc {}, resp {}",
JSON.toJSONString(sog),sellerUid, prdName, sizeName, timelimitDesc, resp);
//发push
SendMessageRspBo bo = ufoSendService.sellerGoodsSend(String.valueOf(sellerUid),String.valueOf(orderCode),prdName,sizeName,productCode,timelimitDesc);
logger.info("record sellerSkupPaidByBuyer push seller uid is {}, orderCode is {}, result is {}", sellerUid, orderCode, JSON.toJSONString(bo));
//短信
String phone = userProxyService.getMobile(sellerUid);
if (StringUtils.isBlank(phone)){
... ... @@ -948,8 +957,13 @@ public class InBoxFacade {
InboxReqVO req = buildInboxReqVO(sellerUid, params, ibt);
InBoxResponse resp = inBoxSDK.addInbox(req);
logger.info("record notifyUnshelfCauseBySpecialReason inbox msg, sellerUid {}, prdName {}, resp {}",
sellerUid, prdName, resp);
logger.info("record notifyUnshelfCauseBySpecialReason inbox msg, sellerUid {}, prdName {},psog {}, resp {}",
sellerUid, prdName, psog,resp);
//发push
SendMessageRspBo bo = ufoSendService.skuClosedNotice(String.valueOf(sellerUid),prdName,sizeName,productCode);
logger.info("record notifyUnshelfCauseBySpecialReason push seller uid is {}, prdName is {}, result is {}", sellerUid, prdName, JSON.toJSONString(bo));
//短信
String phone = userProxyService.getMobile(sellerUid);
... ... @@ -1314,6 +1328,12 @@ public class InBoxFacade {
executorService.execute(() -> {
InBoxResponse inBoxResponse = inBoxSDK.addInbox(inboxMessage);
logger.info("noticeBuyerAppraiseUnsure inbox send success, message is {} res is {}", inboxMessage, inBoxResponse);
//发push
SendMessageRspBo bo = ufoSendService.identifyFail(String.valueOf(uid),String.valueOf(orderCode));
logger.info("noticeBuyerAppraiseUnsure push buyer uid is {}, orderCode is {}, result is {}", uid, orderCode, JSON.toJSONString(bo));
//sms
String phone = userProxyService.getMobile(uid);
if (StringUtils.isBlank(phone)) {
logger.warn("noticeBuyerAppraiseUnsure sms send fail,uid {} can not find phone", uid);
... ... @@ -1444,6 +1464,11 @@ public class InBoxFacade {
logger.info("record buyerCancelBeforeDepotReceive to seller inbox msg, sellerUid {}, orderCode {},prdName {} resp {}",
sellerUid, orderCode, prdName, respOfSeller);
//发push,通知卖家
SendMessageRspBo bo = ufoSendService.buyerCancelSend(String.valueOf(sellerUid),String.valueOf(orderCode),prdName, sizeName,productCode);
logger.info("record buyerCancelBeforeDepotReceive push seller uid is {}, orderCode is {}, result is {}", sellerUid, orderCode, JSON.toJSONString(bo));
//短信
String phone = userProxyService.getMobile(sellerUid);
if (StringUtils.isBlank(phone)){
... ... @@ -1489,6 +1514,11 @@ public class InBoxFacade {
logger.info("record noticeSellerWhenBuyerCancelNoResponsibility to seller inbox msg, sellerUid {}, orderCode {},prdName {} resp {}",
sellerUid, orderCode,prdName, resp);
//发push
SendMessageRspBo bo = ufoSendService.buyerCancelBooking(String.valueOf(sellerUid),String.valueOf(orderCode),prdName, sizeName,productCode);
logger.info("record noticeSellerWhenBuyerCancelNoResponsibility push seller uid is {}, orderCode is {}, result is {}", sellerUid, orderCode, JSON.toJSONString(bo));
//短信
String phone = userProxyService.getMobile(sellerUid);
if (StringUtils.isBlank(phone)){
... ... @@ -1538,6 +1568,11 @@ public class InBoxFacade {
logger.info("record buyerCancelBeforeSellerDeliver to seller inbox msg, sellerUid {}, orderCode {},prdName {} resp {}",
sellerUid, orderCode, prdName, respOfSeller);
//发push ,给卖家
SendMessageRspBo bo = ufoSendService.buyerCancel(String.valueOf(sellerUid),String.valueOf(orderCode),prdName, sizeName,productCode);
logger.info("record buyerCancelBeforeSellerDeliver push seller uid is {}, orderCode is {}, result is {}", sellerUid, orderCode, JSON.toJSONString(bo));
//短信
String phone = userProxyService.getMobile(sellerUid);
if (StringUtils.isBlank(phone)){
... ...
... ... @@ -137,7 +137,7 @@
<dependency>
<groupId>com.yoho.dsf</groupId>
<artifactId>yoho-message-sdk</artifactId>
<version>1.1.4-SNAPSHOT</version>
<version>1.1.5-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
... ...