|
@@ -78,6 +78,11 @@ public class AppchatCreateServiceImpl implements IAppchatCreateService {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
StringBuilder text = new StringBuilder();
|
|
StringBuilder text = new StringBuilder();
|
|
|
|
+ text.append("请及时发送该时段易车时报!");
|
|
|
|
+ text.append("\n");
|
|
|
|
+ text.append("17点和22点必须提前10分钟准时发出!");
|
|
|
|
+ text.append("\n");
|
|
|
|
+ text.append("\n");
|
|
for (int i = 0; i < userlist.size(); i++) {
|
|
for (int i = 0; i < userlist.size(); i++) {
|
|
String userId = userlist.getString(i);
|
|
String userId = userlist.getString(i);
|
|
CtopCorpWexinUser userInfo = ctopCorpWexinUserService.getInfoByUserId(userId);
|
|
CtopCorpWexinUser userInfo = ctopCorpWexinUserService.getInfoByUserId(userId);
|
|
@@ -89,11 +94,6 @@ public class AppchatCreateServiceImpl implements IAppchatCreateService {
|
|
}
|
|
}
|
|
text.append("@" + userInfo.getWexinName());
|
|
text.append("@" + userInfo.getWexinName());
|
|
}
|
|
}
|
|
- text.append("\n");
|
|
|
|
- text.append("\n");
|
|
|
|
- text.append("请及时发送该时段易车时报!");
|
|
|
|
- text.append("\n");
|
|
|
|
- text.append("17点和22点必须提前10分钟准时发出!");
|
|
|
|
JSONObject postJson = new JSONObject();
|
|
JSONObject postJson = new JSONObject();
|
|
postJson.put("chatid", chatid);
|
|
postJson.put("chatid", chatid);
|
|
postJson.put("msgtype", "text");
|
|
postJson.put("msgtype", "text");
|