|
@@ -336,30 +336,29 @@ public class InBoxFacade extends BaseNoticeFacade{ |
|
@@ -336,30 +336,29 @@ public class InBoxFacade extends BaseNoticeFacade{ |
336
|
* 鉴定结束发货,发送站内信和短信
|
336
|
* 鉴定结束发货,发送站内信和短信
|
337
|
* @param uid
|
337
|
* @param uid
|
338
|
* @param prdName
|
338
|
* @param prdName
|
339
|
- * @param sizeName
|
|
|
340
|
* @param productCode
|
339
|
* @param productCode
|
341
|
* @param wayBillCode
|
340
|
* @param wayBillCode
|
342
|
*/
|
341
|
*/
|
343
|
- public void sendInboxSmsWhenAppraiseFinished(int uid, String prdName, String sizeName, String productCode,String wayBillCode){
|
342
|
+ public void sendInboxSmsWhenAppraiseFinished(int uid, String prdName, String productCode,String wayBillCode){
|
344
|
|
343
|
|
345
|
try {
|
344
|
try {
|
346
|
executorService.execute(() -> {
|
345
|
executorService.execute(() -> {
|
347
|
- String params = buildParams(prdName, sizeName, productCode);
|
346
|
+ String params = buildParams(prdName, productCode);
|
348
|
InboxReqVO req = buildInboxReqVO(uid, params, InboxBusinessTypeEnum.INBOX_DELIVERY_APPRAISE_FINISHED);
|
347
|
InboxReqVO req = buildInboxReqVO(uid, params, InboxBusinessTypeEnum.INBOX_DELIVERY_APPRAISE_FINISHED);
|
349
|
|
348
|
|
350
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
349
|
InBoxResponse resp = inBoxSDK.addInbox(req);
|
351
|
- log.info("record sendInboxSmsWhenAppraiseFinished inbox msg, uid {}, prdName {}, resp {}",uid, prdName, resp);
|
|
|
352
|
-
|
350
|
+ log.info("record sendInboxSmsWhenAppraiseFinished inbox msg, uid {}, prdName {}, wayBillCode {}, resp {}", uid, prdName, wayBillCode, resp);
|
353
|
|
351
|
|
354
|
//短信
|
352
|
//短信
|
355
|
String phone = userProxyService.getMobile(uid);
|
353
|
String phone = userProxyService.getMobile(uid);
|
356
|
if (StringUtils.isBlank(phone)){
|
354
|
if (StringUtils.isBlank(phone)){
|
357
|
- log.warn("sendInboxSmsComm sms send fail,sellerUid {}, prdName {} timelimitDesc {}",uid, prdName);
|
355
|
+ log.warn("sendInboxSmsWhenAppraiseFinished sms send fail,sellerUid {}, prdName {} timelimitDesc {}",uid, prdName);
|
358
|
return;
|
356
|
return;
|
359
|
}
|
357
|
}
|
360
|
List<String> mobileList = Arrays.asList(phone);
|
358
|
List<String> mobileList = Arrays.asList(phone);
|
361
|
- String content = getReplacedContent(InboxBusinessTypeEnum.SMS_DELIVERY_APPRAISE_FINISHED.getContent(),prdName,sizeName,productCode,wayBillCode);
|
359
|
+ String content = getReplacedContent(InboxBusinessTypeEnum.SMS_DELIVERY_APPRAISE_FINISHED.getContent(), prdName ,productCode,wayBillCode);
|
362
|
sendSmsService.smsSendByMobile(content, mobileList);
|
360
|
sendSmsService.smsSendByMobile(content, mobileList);
|
|
|
361
|
+ log.info("sendInboxSmsWhenAppraiseFinished sms content {}, mobileList {}", content, mobileList);
|
363
|
});
|
362
|
});
|
364
|
|
363
|
|
365
|
} catch (Exception e) {
|
364
|
} catch (Exception e) {
|