|
|
|
@@ -512,7 +512,13 @@ public class WxCouponSendServiceImpl implements WxCouponSendService { |
|
|
|
map.put("time3",dateFormat.format(couponOrder.getCreateDate())); |
|
|
|
map.put("time4",dateFormat.format(couponOrder.getExpiredTime())); |
|
|
|
map.put("thing5","你的优惠券已到账!请立即使用"); |
|
|
|
map.put("goToPage","pages/index/index?type=mc"); |
|
|
|
if(EnumCouponType.COUPON_TINGCHE.getCode().equals(couponOrder.getCouponType()) |
|
|
|
|| EnumCouponType.COUPON_CREDIT_PARK.getCode().equals(couponOrder.getCouponType())){ |
|
|
|
map.put("goToPage","pages/index/index?type=in"); |
|
|
|
}else{ |
|
|
|
map.put("goToPage","pages/index/index?type=mc"); |
|
|
|
} |
|
|
|
|
|
|
|
msg.setMsg(JSONObject.toJSONString(map)); |
|
|
|
wxMsgService.batchSendAppinfo(msg); |
|
|
|
} |
|
|
|
|