|
@@ -71,7 +71,8 @@ public class FsCouponScheduleServiceImpl implements IFsCouponScheduleService
|
|
|
/**
|
|
|
* 小程序消息通知模板ID
|
|
|
*/
|
|
|
- private final String WX_MINI_APP_NOTIFY_TEMPLATE_ID = "5ZSzz2nPmJo9EuenZa78mQPScoOMc84LnEfEpV0-i04";
|
|
|
+// private final String WX_MINI_APP_NOTIFY_TEMPLATE_ID = "5ZSzz2nPmJo9EuenZa78mQPScoOMc84LnEfEpV0-i04";
|
|
|
+ private final String WX_MINI_APP_NOTIFY_TEMPLATE_ID = "K0RUbGggwYz7V4yjtJjFVXtthnx4hOJgHvr7RNOyRSE";
|
|
|
|
|
|
/**
|
|
|
* 查询定时发放优惠券队列
|
|
@@ -254,7 +255,7 @@ public class FsCouponScheduleServiceImpl implements IFsCouponScheduleService
|
|
|
if(ObjectUtil.isNotNull(fsStoreCoupon)){
|
|
|
String couponNameById = fsStoreCoupon.getTitle();
|
|
|
if(StringUtil.isNotEmpty(couponNameById)){
|
|
|
- couponName.setValue(couponNameById);
|
|
|
+ couponName.setValue(String.format("优惠券 %s 已下发账户,请及时使用!",couponNameById));
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -286,10 +287,13 @@ public class FsCouponScheduleServiceImpl implements IFsCouponScheduleService
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+// data.put("thing1",couponName);
|
|
|
+// data.put("time2",couponValidate);
|
|
|
+// data.put("thing3",couponMark);
|
|
|
+// data.put("amount4",couponPrice);
|
|
|
+
|
|
|
data.put("thing1",couponName);
|
|
|
- data.put("time2",couponValidate);
|
|
|
- data.put("thing3",couponMark);
|
|
|
- data.put("amount4",couponPrice);
|
|
|
+ data.put("thing6",couponMark);
|
|
|
|
|
|
notifyTask.setData(JSON.toJSONString(data));
|
|
|
|