|
|
|
@@ -1879,14 +1879,14 @@ public class WxOrderServiceImpl implements WxOrderService { |
|
|
|
// 发送短信 |
|
|
|
if(EnumPayWay.PAY_WAY_TT.getCode().equals(order.getPayVendor())){ |
|
|
|
logger.info("订单成功短信通知start"); |
|
|
|
WxAppinfo cAppInfo = wxAppinfoService.getCAppInfo(order, EnumPayWay.PAY_WAY_TT.getPlat()); |
|
|
|
// WxAppinfo cAppInfo = wxAppinfoService.getCAppInfo(order, EnumPayWay.PAY_WAY_TT.getPlat()); |
|
|
|
//券名 |
|
|
|
String name = coupon.getTitle(); |
|
|
|
//找出用户手机号 |
|
|
|
String phone = user.getPhone(); |
|
|
|
Map<String, String> msgReplaceMap = new HashMap(); |
|
|
|
msgReplaceMap.put("name", name); |
|
|
|
msgReplaceMap.put("sortUrl",cAppInfo.getSortUrl()); |
|
|
|
// msgReplaceMap.put("sortUrl",cAppInfo.getSortUrl()); |
|
|
|
|
|
|
|
WxMsgRecord wxMsgRecord = new WxMsgRecord(); |
|
|
|
wxMsgRecord.updateTenantInfo(order); |
|
|
|
|