Commit a2c74fac by 徐高华

企微朋友圈

parent 0a29dc66
...@@ -135,7 +135,7 @@ public class QywxCallbackController extends WebBaseController { ...@@ -135,7 +135,7 @@ public class QywxCallbackController extends WebBaseController {
private void chat(String uuid, JSONObject json) { private void chat(String uuid, JSONObject json) {
int msgtype = json.getIntValue("msgtype"); int msgtype = json.getIntValue("msgtype");
// 群发任务 // 群发任务
if (msgtype == 573) { if (msgtype == 573 || msgtype==529) {
json.put("uuid", uuid); json.put("uuid", uuid);
this.openQwApiService.saveNotice(json.toJSONString()); this.openQwApiService.saveNotice(json.toJSONString());
return; return;
......
...@@ -726,6 +726,18 @@ public class QywxOpenTaskController { ...@@ -726,6 +726,18 @@ public class QywxOpenTaskController {
} }
newType += "社群群发"; newType += "社群群发";
} }
if (oldSendType.contains("3")) {
if (StringUtils.isNotBlank(oldType)) {
oldType += "、";
}
oldType += "企微朋友圈";
}
if (newSendType.contains("3")) {
if (StringUtils.isNotBlank(newType)) {
newType += "、";
}
newType += "企微朋友圈";
}
if (!oldType.equals(newType)) { if (!oldType.equals(newType)) {
logContent2 += "执行消息类型从【" + oldType + "】修改为【" + newType + "】"; logContent2 += "执行消息类型从【" + oldType + "】修改为【" + newType + "】";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment