|
|
|
@@ -230,9 +230,14 @@ public class WxCouponSendServiceImpl implements WxCouponSendService { |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error(e.getMessage()); |
|
|
|
} |
|
|
|
|
|
|
|
logger.info("》》》》》》》》》》》"); |
|
|
|
logger.info("场景投放信息:" + send); |
|
|
|
logger.info("》》》》》》》》》》》"); |
|
|
|
// 发送短信 |
|
|
|
if (send.getSendSms().equals(EnumCouponSendSms.YES.getCode())) { |
|
|
|
logger.info("》》》》》》》》》》》"); |
|
|
|
logger.info("场景投放发送短信开始"); |
|
|
|
logger.info("》》》》》》》》》》》"); |
|
|
|
//券名 |
|
|
|
String title = send.getTitle(); |
|
|
|
//找出用户手机号 |
|
|
|
@@ -252,7 +257,9 @@ public class WxCouponSendServiceImpl implements WxCouponSendService { |
|
|
|
wxMsgRecord.setTenantId(tenantId); |
|
|
|
wxMsgRecord.setDynamicContentMap(msgReplaceMap); |
|
|
|
mqBaseProducer.sendMessage(wxMsgRecord, EnumMsgMqTopic.DEFAULT.getCode(), EnumMsgMqTag.DEFAULT.getCode(), EnumMsgMqKey.DEFAULT.getCode()); |
|
|
|
|
|
|
|
logger.info("》》》》》》》》》》》"); |
|
|
|
logger.info("场景投放发送短信结束"); |
|
|
|
logger.info("》》》》》》》》》》》"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|