|
@@ -426,15 +426,15 @@ public class CusFollowService extends BaseService<CusFollow> {
|
|
|
|
|
|
|
|
} else if (Constant.BasicDataConstant.FOLLOW_STATUS_6.getValue().equals(follow.getFollowStatus())) {
|
|
} else if (Constant.BasicDataConstant.FOLLOW_STATUS_6.getValue().equals(follow.getFollowStatus())) {
|
|
|
list.add("您有客户需要量尺服务");
|
|
list.add("您有客户需要量尺服务");
|
|
|
- loginType = "1";
|
|
|
|
|
|
|
+ loginType = "8";
|
|
|
|
|
|
|
|
} else if (Constant.BasicDataConstant.FOLLOW_STATUS_2.getValue().equals(follow.getFollowStatus())) {
|
|
} else if (Constant.BasicDataConstant.FOLLOW_STATUS_2.getValue().equals(follow.getFollowStatus())) {
|
|
|
list.add("您有客户邀约进店");
|
|
list.add("您有客户邀约进店");
|
|
|
- loginType = "1";
|
|
|
|
|
|
|
+ loginType = "8";
|
|
|
|
|
|
|
|
} else if (Constant.BasicDataConstant.FOLLOW_STATUS_3.getValue().equals(follow.getFollowStatus())) {
|
|
} else if (Constant.BasicDataConstant.FOLLOW_STATUS_3.getValue().equals(follow.getFollowStatus())) {
|
|
|
list.add("您有客户需要约尺服务");
|
|
list.add("您有客户需要约尺服务");
|
|
|
- loginType = "1";
|
|
|
|
|
|
|
+ loginType = "8";
|
|
|
}
|
|
}
|
|
|
list.add(customer.getCusName());
|
|
list.add(customer.getCusName());
|
|
|
list.add(customer.getCusPhone());
|
|
list.add(customer.getCusPhone());
|
|
@@ -450,6 +450,7 @@ public class CusFollowService extends BaseService<CusFollow> {
|
|
|
// 发送消息
|
|
// 发送消息
|
|
|
Map<String, Object> mapMessage = new HashMap<>();
|
|
Map<String, Object> mapMessage = new HashMap<>();
|
|
|
mapMessage.put("loginType", loginType);
|
|
mapMessage.put("loginType", loginType);
|
|
|
|
|
+ mapMessage.put("otherParam", follow);
|
|
|
mapMessage.put("publicOpenId", user.get("publicOpenId"));
|
|
mapMessage.put("publicOpenId", user.get("publicOpenId"));
|
|
|
mapMessage.put("first", "客户跟进提醒");
|
|
mapMessage.put("first", "客户跟进提醒");
|
|
|
mapMessage.put("keywordList", list);
|
|
mapMessage.put("keywordList", list);
|
|
@@ -491,8 +492,8 @@ public class CusFollowService extends BaseService<CusFollow> {
|
|
|
put("appid", config.getAppId());
|
|
put("appid", config.getAppId());
|
|
|
//用户点击公众号推送消息跳转小程序单据详情页 orderType 里面存放json字符串数据
|
|
//用户点击公众号推送消息跳转小程序单据详情页 orderType 里面存放json字符串数据
|
|
|
//判断InvoiceParam
|
|
//判断InvoiceParam
|
|
|
- if (map.containsKey("InvoiceParam")) {
|
|
|
|
|
- put("pagepath", "pages/login/login?loginType=" + map.get("loginType").toString() + "&InvoiceParam=" + map.get("InvoiceParam").toString());
|
|
|
|
|
|
|
+ if (map.containsKey("otherParam")) {
|
|
|
|
|
+ put("pagepath", "pages/login/login?loginType=" + map.get("loginType").toString() + "&otherParam=" + map.get("otherParam").toString());
|
|
|
} else {
|
|
} else {
|
|
|
put("pagepath", "pages/login/login?loginType=" + map.get("loginType").toString());
|
|
put("pagepath", "pages/login/login?loginType=" + map.get("loginType").toString());
|
|
|
}
|
|
}
|