mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-21 18:19:36 +08:00
公众号推送和用户绑定修改
This commit is contained in:
parent
f726f139cc
commit
d2056da72d
@ -244,7 +244,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</update>
|
</update>
|
||||||
<update id="updateGzhOpenid">
|
<update id="updateGzhOpenid">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
update ics_customer_staff set gzh_openid = #{openid} where mobile = #{mobile} and delete_flag=0 and gzh_openid is null and data_type is not null and data_type<>'1'
|
update ics_customer_staff set gzh_openid = #{openid} where mobile = #{mobile} and delete_flag=0 and gzh_openid is null and data_type is not null and room_role is not null
|
||||||
]]>
|
]]>
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
@ -121,14 +121,14 @@ public class RepairRemindPushServiceImpl implements RepairRemindPushService {
|
|||||||
}
|
}
|
||||||
//会议预约模板填充数据
|
//会议预约模板填充数据
|
||||||
if (repairRemind.getTypeId() == 1) {
|
if (repairRemind.getTypeId() == 1) {
|
||||||
data.put("time", dataTime);
|
data.put("time6", dataTime);
|
||||||
data.put("thing", msg);
|
data.put("thing3", msg);
|
||||||
}
|
}
|
||||||
param.put("data", data);
|
param.put("data", data);
|
||||||
JSONObject result = send(url, JSON.toJSONString(param));
|
JSONObject result = send(url, JSON.toJSONString(param));
|
||||||
// System.out.println("==========ttt1==========");
|
System.out.println("==========ttt1==========");
|
||||||
// System.out.println(result.toString());
|
System.out.println(result.toString());
|
||||||
// System.out.println("==========ttt2==========");
|
System.out.println("==========ttt2==========");
|
||||||
if (result == null || result.getInteger("errcode") == null || result.getInteger("errcode") != 0) {
|
if (result == null || result.getInteger("errcode") == null || result.getInteger("errcode") != 0) {
|
||||||
failed.add(repairRemind.getId());
|
failed.add(repairRemind.getId());
|
||||||
} else {
|
} else {
|
||||||
|
@ -138,4 +138,4 @@ webchatGZH: #微信公众号用户绑定及模板消息推送相关配置
|
|||||||
secret: db375b6db9c7b87b1daa48375b45731e
|
secret: db375b6db9c7b87b1daa48375b45731e
|
||||||
access: https://baoxiu.jsgdha.com/shoot-hand #pc后端访问地址
|
access: https://baoxiu.jsgdha.com/shoot-hand #pc后端访问地址
|
||||||
templateRP: 4jgtzPfyX546n5ZDPHbN69YSSFf8NSOQUDJuPb6bYwA #工单模板消息模板id
|
templateRP: 4jgtzPfyX546n5ZDPHbN69YSSFf8NSOQUDJuPb6bYwA #工单模板消息模板id
|
||||||
templateMR: XXX #会议室预约模板消息id
|
templateMR: erLiOoswMLHXknPpd5UVvSC5C8sIUwlfpgqdVPZhwcA #会议室预约模板消息id
|
Loading…
x
Reference in New Issue
Block a user