...
|
...
|
@@ -85,6 +85,14 @@ public class InBoxFacade { |
|
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
|
|
logger.info("record noticeBuyerWhenSellerCancelAfterPaid inbox msg, buyerUid {}, orderCode {}, resp {}",
|
|
|
buyerUid, orderCode, resp);
|
|
|
|
|
|
//短信
|
|
|
InboxBusinessTypeEnum smsIbt = InboxBusinessTypeEnum.SMS_CLOSED_SELLER;
|
|
|
String smsparams = buildParams(orderCode);
|
|
|
InboxReqVO smsIbtReq = buildInboxReqVO(buyerUid, smsparams, smsIbt);
|
|
|
InBoxResponse smsresp = inBoxSDK.addInbox(smsIbtReq);
|
|
|
logger.info("record noticeBuyerWhenSellerCancelAfterPaid inbox sms msg, buyerUid {}, orderCode {}, resp {}",
|
|
|
buyerUid, orderCode, smsresp);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -113,6 +121,14 @@ public class InBoxFacade { |
|
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
|
|
logger.info("record buyerGetEarnestMoneyWhenAppraiseFail inbox msg, buyerUid {}, orderCode {}, resp {}",
|
|
|
buyerUid, orderCode, resp);
|
|
|
|
|
|
//短信
|
|
|
InboxBusinessTypeEnum smsIbt = InboxBusinessTypeEnum.SMS_CLOSED_PLATFORM;
|
|
|
String smsparams = buildParams(orderCode);
|
|
|
InboxReqVO smsIbtReq = buildInboxReqVO(buyerUid, smsparams, smsIbt);
|
|
|
InBoxResponse smsresp = inBoxSDK.addInbox(smsIbtReq);
|
|
|
logger.info("record buyerGetEarnestMoneyWhenAppraiseFail inbox sms msg, buyerUid {}, orderCode {}, resp {}",
|
|
|
buyerUid, orderCode, smsresp);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -123,6 +139,32 @@ public class InBoxFacade { |
|
|
public void sellerOrderNotPaid(int sellerUid, String prdName){
|
|
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 因为特殊原因下架商品
|
|
|
* 商品下架提醒,
|
|
|
* @param sellerUid
|
|
|
* @param prdName
|
|
|
*/
|
|
|
public void notifyUnshelfCauseBySpecialReason(int sellerUid, String prdName){
|
|
|
InboxBusinessTypeEnum ibt = InboxBusinessTypeEnum.SALE_NOTIFIED_UNSHELF;
|
|
|
String params = buildParams(prdName);
|
|
|
InboxReqVO req = buildInboxReqVO(sellerUid, params, ibt);
|
|
|
|
|
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
|
|
logger.info("record notifyUnshelfCauseBySpecialReason inbox msg, sellerUid {}, prdName {}, resp {}",
|
|
|
sellerUid, prdName, resp);
|
|
|
|
|
|
//短信
|
|
|
InboxBusinessTypeEnum smsIbt = InboxBusinessTypeEnum.SMS_NOTIFIED_UNSHELF;
|
|
|
String smsparams = buildParams(prdName);
|
|
|
InboxReqVO smsIbtReq = buildInboxReqVO(sellerUid, smsparams, smsIbt);
|
|
|
InBoxResponse smsresp = inBoxSDK.addInbox(smsIbtReq);
|
|
|
logger.info("record notifyUnshelfCauseBySpecialReason inbox sms msg,sellerUid {}, prdName {}, resp {}",
|
|
|
sellerUid, prdName, resp);
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 卖家支付保证金成功 发布的商品上架出售
|
|
|
* @param sellerUid
|
...
|
...
|
@@ -165,6 +207,14 @@ public class InBoxFacade { |
|
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
|
|
logger.info("record sellerSkupPaidByBuyer inbox msg, sellerUid {}, prdName {}, resp {}",
|
|
|
sellerUid, prdName, resp);
|
|
|
|
|
|
//短信
|
|
|
InboxBusinessTypeEnum smsIbt = InboxBusinessTypeEnum.SMS_NOTIFIED_SEND;
|
|
|
String smsparams = buildParams(prdName);
|
|
|
InboxReqVO smsIbtReq = buildInboxReqVO(sellerUid, smsparams, smsIbt);
|
|
|
InBoxResponse smsresp = inBoxSDK.addInbox(smsIbtReq);
|
|
|
logger.info("record sellerSkupPaidByBuyer inbox sms msg,sellerUid {}, prdName {}, resp {}",
|
|
|
sellerUid, prdName, resp);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|