Authored by tanling

站内信和短信

@@ -595,7 +595,6 @@ public class AppraiseService { @@ -595,7 +595,6 @@ public class AppraiseService {
595 // 子订单对应商品 1:1 595 // 子订单对应商品 1:1
596 AppraiseOrderGoods oneAppraiseOrderGood = appraiseOrderGoods.get(0); 596 AppraiseOrderGoods oneAppraiseOrderGood = appraiseOrderGoods.get(0);
597 inBoxFacade.sendInboxSmsWhenAppraiseFinished(uid, oneAppraiseOrderGood.getProductName(), 597 inBoxFacade.sendInboxSmsWhenAppraiseFinished(uid, oneAppraiseOrderGood.getProductName(),
598 - appraiseOrderStorage.getSizeName(),  
599 oneAppraiseOrderGood.getProductCode(), 598 oneAppraiseOrderGood.getProductCode(),
600 wayBillCode); 599 wayBillCode);
601 } 600 }
@@ -331,15 +331,14 @@ public class InBoxFacade extends BaseNoticeFacade{ @@ -331,15 +331,14 @@ public class InBoxFacade extends BaseNoticeFacade{
331 * 鉴定结束发货,发送站内信和短信 331 * 鉴定结束发货,发送站内信和短信
332 * @param uid 332 * @param uid
333 * @param prdName 333 * @param prdName
334 - * @param sizeName  
335 * @param productCode 334 * @param productCode
336 * @param wayBillCode 335 * @param wayBillCode
337 */ 336 */
338 - public void sendInboxSmsWhenAppraiseFinished(int uid, String prdName, String sizeName, String productCode,String wayBillCode){ 337 + public void sendInboxSmsWhenAppraiseFinished(int uid, String prdName, String productCode,String wayBillCode){
339 338
340 try { 339 try {
341 executorService.execute(() -> { 340 executorService.execute(() -> {
342 - String params = buildParams(prdName, sizeName, productCode); 341 + String params = buildParams(prdName, productCode);
343 InboxReqVO req = buildInboxReqVO(uid, params, InboxBusinessTypeEnum.INBOX_DELIVERY_APPRAISE_FINISHED); 342 InboxReqVO req = buildInboxReqVO(uid, params, InboxBusinessTypeEnum.INBOX_DELIVERY_APPRAISE_FINISHED);
344 343
345 InBoxResponse resp = inBoxSDK.addInbox(req); 344 InBoxResponse resp = inBoxSDK.addInbox(req);
@@ -352,7 +351,7 @@ public class InBoxFacade extends BaseNoticeFacade{ @@ -352,7 +351,7 @@ public class InBoxFacade extends BaseNoticeFacade{
352 return; 351 return;
353 } 352 }
354 List<String> mobileList = Arrays.asList(phone); 353 List<String> mobileList = Arrays.asList(phone);
355 - String content = getReplacedContent(InboxBusinessTypeEnum.SMS_DELIVERY_APPRAISE_FINISHED.getContent(),prdName,sizeName,productCode,wayBillCode); 354 + String content = getReplacedContent(InboxBusinessTypeEnum.SMS_DELIVERY_APPRAISE_FINISHED.getContent(), prdName ,productCode,wayBillCode);
356 sendSmsService.smsSendByMobile(content, mobileList); 355 sendSmsService.smsSendByMobile(content, mobileList);
357 log.info("sendInboxSmsWhenAppraiseFinished sms content {}, mobileList {}", content, mobileList); 356 log.info("sendInboxSmsWhenAppraiseFinished sms content {}, mobileList {}", content, mobileList);
358 }); 357 });