Browse Source

//add msg

release_toaliyun_real
xhxu 4 years ago
parent
commit
98163edf71
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java View File

@@ -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);


Loading…
Cancel
Save