|
@@ -71,7 +71,7 @@ public class HeheTask {
|
|
|
} else {
|
|
|
// 正式环境或指定手机号
|
|
|
if ("prod".equals(profile) || list.contains(mobile)) {
|
|
|
- content.set(couponAmount + "元优惠券已派送到您的领券中心,请赶紧登录呵呵商城小程序领取下单吧。退订回T");
|
|
|
+ content.set(couponAmount + "元优惠券已派送到您的领券中心,请赶紧登录颜选美学小程序领取下单吧。退订回T");
|
|
|
String result = SmsUtil.sendSms(3, mobile, content.get());
|
|
|
log.info("【呵呵短信】,result>>>>>>" + result);
|
|
|
a.getAndIncrement();
|
|
@@ -90,7 +90,7 @@ public class HeheTask {
|
|
|
} else {
|
|
|
// 正式环境或指定手机号
|
|
|
if ("prod".equals(profile) || list.contains(mobile)) {
|
|
|
- content.set("为了感谢您长久以来的支持,现已派送" + couponAmount + "元优惠券到您的领券中心,请赶紧登录呵呵商城小程序领取下单吧。退订回T");
|
|
|
+ content.set("为了感谢您长久以来的支持,现已派送" + couponAmount + "元优惠券到您的领券中心,请赶紧登录颜选美学小程序领取下单吧。退订回T");
|
|
|
String result = SmsUtil.sendSms(3, mobile, content.get());
|
|
|
log.info("【呵呵短信】,result>>>>>>" + result);
|
|
|
b.getAndIncrement();
|
|
@@ -122,7 +122,7 @@ public class HeheTask {
|
|
|
heheMapper.completeCollage(collageId);
|
|
|
List<String> mobileList = heheMapper.getMobilesByCollageId(collageId);
|
|
|
// 拼团成功短信推送
|
|
|
- mobileList.forEach(mobile-> SmsUtil.sendSms(1, mobile, "您的商品已拼团成功,请赶紧登录呵呵商城小程序查看订单吧。"));
|
|
|
+ mobileList.forEach(mobile-> SmsUtil.sendSms(1, mobile, "您的商品已拼团成功,请赶紧登录颜选美学小程序查看订单吧。"));
|
|
|
// 关闭其它未支付拼团订单
|
|
|
List<Integer> orderIdList = heheMapper.findNoPayCollageOrderIds(collageId);
|
|
|
orderIdList.forEach(noPayOrderId->{
|
|
@@ -163,14 +163,14 @@ public class HeheTask {
|
|
|
for (CouponBo coupon : receiveCouponList) {
|
|
|
if (DateUtils.differentDays(date, coupon.getUsePeriod()) == 7) {
|
|
|
//7天后优惠券即将过期推送
|
|
|
- content.set("您有优惠券即将过期,请赶紧登录呵呵商城小程序领取下单吧。退订回T");
|
|
|
+ content.set("您有优惠券即将过期,请赶紧登录颜选美学小程序领取下单吧。退订回T");
|
|
|
String result = SmsUtil.sendSms(3, mobile, content.get());
|
|
|
a++;
|
|
|
continue A;
|
|
|
}
|
|
|
if (DateUtils.differentDays(date, coupon.getUsePeriod()) == 0) {
|
|
|
//当天优惠券即将过期推送
|
|
|
- content.set("您有优惠券今日将过期,请赶紧登录呵呵商城小程序领取下单吧。退订回T");
|
|
|
+ content.set("您有优惠券今日将过期,请赶紧登录颜选美学小程序领取下单吧。退订回T");
|
|
|
String result = SmsUtil.sendSms(3, mobile, content.get());
|
|
|
b++;
|
|
|
continue A;
|
|
@@ -182,7 +182,7 @@ public class HeheTask {
|
|
|
if (!coupon.getPermanentFlag()) {
|
|
|
if (DateUtils.differentDays(coupon.getReceivePeriod(), date) == 7) {
|
|
|
//离失效日只剩7天还没领取
|
|
|
- content.set("您有优惠券尚未领取,优惠券即将失效,请赶紧登录呵呵商城小程序领取下单吧。退订回T");
|
|
|
+ content.set("您有优惠券尚未领取,优惠券即将失效,请赶紧登录颜选美学小程序领取下单吧。退订回T");
|
|
|
String result = SmsUtil.sendSms(3, mobile, content.get());
|
|
|
c++;
|
|
|
continue A;
|