Authored by tanling

发货站内信and短信

@@ -594,7 +594,10 @@ public class AppraiseService { @@ -594,7 +594,10 @@ public class AppraiseService {
594 594
595 // 子订单对应商品 1:1 595 // 子订单对应商品 1:1
596 AppraiseOrderGoods oneAppraiseOrderGood = appraiseOrderGoods.get(0); 596 AppraiseOrderGoods oneAppraiseOrderGood = appraiseOrderGoods.get(0);
597 - inBoxFacade.sendInboxSmsWhenAppraiseFinished(uid, oneAppraiseOrderGood.getProductName(),appraiseOrderStorage.getSizeName(), oneAppraiseOrderGood.getProductCode(), wayBillCode); 597 + inBoxFacade.sendInboxSmsWhenAppraiseFinished(uid, oneAppraiseOrderGood.getProductName(),
  598 + appraiseOrderStorage.getSizeName(),
  599 + oneAppraiseOrderGood.getProductCode(),
  600 + wayBillCode);
598 } 601 }
599 602
600 if (appraiseOrder.getAttributes() == AppraiseOrderAttributes.PAID_DEPOSIT.getCode()) { // 鉴定寄存的订单,需要同步修改寄存表的状态 603 if (appraiseOrder.getAttributes() == AppraiseOrderAttributes.PAID_DEPOSIT.getCode()) { // 鉴定寄存的订单,需要同步修改寄存表的状态
@@ -343,18 +343,18 @@ public class InBoxFacade extends BaseNoticeFacade{ @@ -343,18 +343,18 @@ public class InBoxFacade extends BaseNoticeFacade{
343 InboxReqVO req = buildInboxReqVO(uid, params, InboxBusinessTypeEnum.INBOX_DELIVERY_APPRAISE_FINISHED); 343 InboxReqVO req = buildInboxReqVO(uid, params, InboxBusinessTypeEnum.INBOX_DELIVERY_APPRAISE_FINISHED);
344 344
345 InBoxResponse resp = inBoxSDK.addInbox(req); 345 InBoxResponse resp = inBoxSDK.addInbox(req);
346 - log.info("record sendInboxSmsWhenAppraiseFinished inbox msg, uid {}, prdName {}, resp {}",uid, prdName, resp);  
347 - 346 + log.info("record sendInboxSmsWhenAppraiseFinished inbox msg, uid {}, prdName {}, wayBillCode {}, resp {}", uid, prdName, wayBillCode, resp);
348 347
349 //短信 348 //短信
350 String phone = userProxyService.getMobile(uid); 349 String phone = userProxyService.getMobile(uid);
351 if (StringUtils.isBlank(phone)){ 350 if (StringUtils.isBlank(phone)){
352 - log.warn("sendInboxSmsComm sms send fail,sellerUid {}, prdName {} timelimitDesc {}",uid, prdName); 351 + log.warn("sendInboxSmsWhenAppraiseFinished sms send fail,sellerUid {}, prdName {} timelimitDesc {}",uid, prdName);
353 return; 352 return;
354 } 353 }
355 List<String> mobileList = Arrays.asList(phone); 354 List<String> mobileList = Arrays.asList(phone);
356 String content = getReplacedContent(InboxBusinessTypeEnum.SMS_DELIVERY_APPRAISE_FINISHED.getContent(),prdName,sizeName,productCode,wayBillCode); 355 String content = getReplacedContent(InboxBusinessTypeEnum.SMS_DELIVERY_APPRAISE_FINISHED.getContent(),prdName,sizeName,productCode,wayBillCode);
357 sendSmsService.smsSendByMobile(content, mobileList); 356 sendSmsService.smsSendByMobile(content, mobileList);
  357 + log.info("sendInboxSmsWhenAppraiseFinished sms content {}, mobileList {}", content, mobileList);
358 }); 358 });
359 359
360 } catch (Exception e) { 360 } catch (Exception e) {