...
|
...
|
@@ -75,11 +75,11 @@ public class InBoxFacade { |
|
|
* @param buyerUid
|
|
|
* @param orderCode
|
|
|
*/
|
|
|
public void buyerFinishPaid(int buyerUid, long orderCode) {
|
|
|
public void buyerFinishPaid(int buyerUid, long orderCode,int deliveryHours) {
|
|
|
try {
|
|
|
executorService.execute(() -> {
|
|
|
InboxBusinessTypeEnum ibt = InboxBusinessTypeEnum.PURCHASE_NOTIFIED_SELLER;
|
|
|
String params = buildParams(orderCode);
|
|
|
String params = buildParams(orderCode,deliveryHours);
|
|
|
InboxReqVO req = buildInboxReqVO(buyerUid, params, ibt);
|
|
|
|
|
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
...
|
...
|
@@ -633,14 +633,14 @@ public class InBoxFacade { |
|
|
*
|
|
|
* @param sog SellerOrderGoods
|
|
|
*/
|
|
|
public void sellerSkupPaidByBuyer(SellerOrderGoods sog,long orderCode) {
|
|
|
public void sellerSkupPaidByBuyer(SellerOrderGoods sog,long orderCode,int deliveryHours) {
|
|
|
Integer sellerUid = sog.getUid();
|
|
|
String prdName = sog.getProductName();
|
|
|
String sizeName = sog.getSizeName();
|
|
|
try {
|
|
|
executorService.execute(() -> {
|
|
|
InboxBusinessTypeEnum ibt = InboxBusinessTypeEnum.SALE_SEND;
|
|
|
String params = buildParams(prdName, sizeName);
|
|
|
String params = buildParams(prdName, sizeName,deliveryHours);
|
|
|
InboxReqVO req = buildInboxReqVO(sellerUid, params, ibt);
|
|
|
|
|
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
...
|
...
|
@@ -654,7 +654,7 @@ public class InBoxFacade { |
|
|
return;
|
|
|
}
|
|
|
List<String> mobileList = Arrays.asList(phone);
|
|
|
String content = getReplacedContent(InboxBusinessTypeEnum.SMS_NOTIFIED_SEND.getContent(),prdName,orderCode);
|
|
|
String content = getReplacedContent(InboxBusinessTypeEnum.SMS_NOTIFIED_SEND.getContent(),prdName,orderCode,deliveryHours);
|
|
|
sendSmsService.smsSendByMobile(content, mobileList);
|
|
|
logger.info("record sellerSkupPaidByBuyer inbox sms msg,sellerUid {}, prdName {},orderCode {}",
|
|
|
sellerUid, prdName,orderCode);
|
...
|
...
|
|