|
@@ -182,15 +182,16 @@ public class RemoteCallServiceImpl implements RemoteCallService {
|
|
|
|
|
|
@Override
|
|
|
public void getOldUser() {
|
|
|
- //17年之前的所有用户
|
|
|
+ //近两年新增、活跃、忠诚、沉默用户,不活跃用户带医用户
|
|
|
List<PushMessageUserVo> pushUsers = messagePushMapper.findOldUser();
|
|
|
//https://www.caimei365.com/product/hot.html指向新品橱窗
|
|
|
- String url = "https://www.caimei365.com/page-370.html";
|
|
|
+ String url = "https://www.caimei365.com/page-375.html";
|
|
|
List<String> list = new ArrayList<String>();
|
|
|
list.add("15917362709");
|
|
|
list.add("15827317748");
|
|
|
list.add("18476937515");
|
|
|
list.add("18605868824");
|
|
|
+ list.add("18670511721");
|
|
|
list.forEach(l -> {
|
|
|
PushMessageUserVo pushMessageUserVo = new PushMessageUserVo();
|
|
|
pushMessageUserVo.setMobile(l);
|
|
@@ -203,8 +204,8 @@ public class RemoteCallServiceImpl implements RemoteCallService {
|
|
|
p.setMarkId(23);
|
|
|
messagePushMapper.insertNewLink(p);
|
|
|
|
|
|
- String content = "双11最后一天,错过再等一年!禾雅堂颜层水光仪仅1.6万、瑞漾医用耗材买十送一、买十送二,猛戳https://www.caimei365.com/t/" +
|
|
|
- link + ",退订回T";
|
|
|
+ String content = "年末清仓!Reyoungel瑞漾医用玻尿酸水光(械)买一送一,库存1000份,先到先得!戳https://www.caimei365.com/t/" +
|
|
|
+ link + " 看详情,退订回T";
|
|
|
getSendSms(3,23, p.getMobile(), content);
|
|
|
log.info("userId-------------------->" + p.getUserId() + "发送手机号------------------------>" + p.getMobile() + "短信-------------->" + content);
|
|
|
});
|