Showing
1 changed file
with
3 additions
and
2 deletions
@@ -1276,13 +1276,14 @@ public class InBoxFacade { | @@ -1276,13 +1276,14 @@ public class InBoxFacade { | ||
1276 | Integer sellerUid = sog.getUid(); | 1276 | Integer sellerUid = sog.getUid(); |
1277 | String prdName = sog.getProductName(); | 1277 | String prdName = sog.getProductName(); |
1278 | String sizeName = sog.getSizeName(); | 1278 | String sizeName = sog.getSizeName(); |
1279 | + String skupTypeText=SkupType.getSkupType(sog.getAttributes()).attrName(); | ||
1279 | try { | 1280 | try { |
1280 | executorService.execute(() -> { | 1281 | executorService.execute(() -> { |
1281 | // 发站内信 | 1282 | // 发站内信 |
1282 | logger.info("record seller sham send out inbox sms msg for seller,sellerUid {}, prdName {}", sellerUid, prdName); | 1283 | logger.info("record seller sham send out inbox sms msg for seller,sellerUid {}, prdName {}", sellerUid, prdName); |
1283 | Product product = productMapper.selectByPrimaryKey(sog.getProductId()); | 1284 | Product product = productMapper.selectByPrimaryKey(sog.getProductId()); |
1284 | String productCode = product.getProductCode(); | 1285 | String productCode = product.getProductCode(); |
1285 | - String params = buildParams(prdName, sizeName,productCode); | 1286 | + String params = buildParams(skupTypeText,prdName, sizeName,productCode); |
1286 | InboxReqVO req = buildInboxReqVO(sellerUid, params, InboxBusinessTypeEnum.NOTICE_SELLER_SELLER_SHAM_SEND_OUT); | 1287 | InboxReqVO req = buildInboxReqVO(sellerUid, params, InboxBusinessTypeEnum.NOTICE_SELLER_SELLER_SHAM_SEND_OUT); |
1287 | InBoxResponse resp = inBoxSDK.addInbox(req); | 1288 | InBoxResponse resp = inBoxSDK.addInbox(req); |
1288 | logger.info("record seller sham send out inbox msg,sellerUid {}, prdName {},sizeName {} resp {}", | 1289 | logger.info("record seller sham send out inbox msg,sellerUid {}, prdName {},sizeName {} resp {}", |
@@ -1294,7 +1295,7 @@ public class InBoxFacade { | @@ -1294,7 +1295,7 @@ public class InBoxFacade { | ||
1294 | return; | 1295 | return; |
1295 | } | 1296 | } |
1296 | List<String> mobileList = Arrays.asList(phone); | 1297 | List<String> mobileList = Arrays.asList(phone); |
1297 | - String content = getReplacedContent(InboxBusinessTypeEnum.SMS_NOTICE_SELLER_SELLER_SHAM_SEND_OUT.getContent(),prdName,sizeName,productCode); | 1298 | + String content = getReplacedContent(InboxBusinessTypeEnum.SMS_NOTICE_SELLER_SELLER_SHAM_SEND_OUT.getContent(),skupTypeText,prdName,sizeName,productCode); |
1298 | sendSmsService.smsSendByMobile(content, mobileList); | 1299 | sendSmsService.smsSendByMobile(content, mobileList); |
1299 | logger.info("seller sham send out msg,sellerUid {}, prdName {}", sellerUid, prdName); | 1300 | logger.info("seller sham send out msg,sellerUid {}, prdName {}", sellerUid, prdName); |
1300 | }); | 1301 | }); |
-
Please register or login to post a comment