|
@@ -260,19 +260,10 @@ public class RemoteCallServiceImpl implements RemoteCallService {
|
|
|
|
|
|
@Override
|
|
|
public void getOldUserTow() {
|
|
|
-// List<PushMessageUserVo> pushUsers = new ArrayList<>();
|
|
|
- List<PushMessageUserVo> pushUsers = messagePushMapper.findOldUserTow();
|
|
|
- // https://www.caimei365.com/product-7729.html水光仪
|
|
|
- String url = "https://www.caimei365.com/product-7729.html";
|
|
|
+ List<PushMessageUserVo> pushUsers = messagePushMapper.findzylClubs();
|
|
|
+ String url = "https://www.caimei365.com/product-8071.html";
|
|
|
List<String> list = new ArrayList<String>();
|
|
|
- list.add("15017915300");
|
|
|
- list.add("18670511721");
|
|
|
- list.add("17798247695");
|
|
|
-// list.add("15827317748");
|
|
|
-// list.add("18476937515");
|
|
|
-// list.add("18605868824");
|
|
|
-// list.add("18670511721");
|
|
|
-// list.add("17798247695");
|
|
|
+ list.add("15827317748");
|
|
|
list.forEach(l -> {
|
|
|
PushMessageUserVo pushMessageUserVo = new PushMessageUserVo();
|
|
|
pushMessageUserVo.setMobile(l);
|
|
@@ -284,16 +275,14 @@ public class RemoteCallServiceImpl implements RemoteCallService {
|
|
|
p.setShortLink(link);
|
|
|
p.setMarkId(23);
|
|
|
messagePushMapper.insertNewLink(p);
|
|
|
-//水光仪首付2万!国货之光|颜层水光仪|有证一一采美超级会员优享,点击 caimei365.com/t/{s20} 立刻了解详情,退订回T
|
|
|
-// String content = "欢庆元旦,采美平台直接让利,下单立减2000元,限时优惠券发放中,速领!戳https://www.caimei365.com/t/" + link + ",退订回T";
|
|
|
- String content = "水光仪首付2万!国货之光|颜层水光仪|有证一一采美超级会员优享,点击 caimei365.com/t/" + link + " 立刻了解详情,退订回T";
|
|
|
+ String content = "第七届紫亚兰大会即将启幕!设皮肤美容、微创注射等10大论坛,累计参展品牌超1000+、医美从业者超500000+,详情资讯点击链接https://www.caimei365.com/t/" + link ;
|
|
|
getSendSms(3,23, p.getMobile(), content);
|
|
|
log.info("userId-------------------->" + p.getUserId() + "发送手机号------------------------>" + p.getMobile() + "短信-------------->" + content);
|
|
|
});
|
|
|
}
|
|
|
|
|
|
public String getLink() {
|
|
|
- String shortLink = CodeUtil.generateShortLink(9);
|
|
|
+ String shortLink = CodeUtil.generateShortLink(11);
|
|
|
Integer id = messagePushMapper.findIdByShortLink(shortLink);
|
|
|
if (id != null && id > 0) {
|
|
|
getLink();
|