提交 98b69ae7 作者: han

修改新的公众号相关配置信息

上级 e608ff00
......@@ -354,6 +354,8 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
JSONObject jsonObject = spellMsg("飞手执照及能力认证","审核通过");
ws.setTouser(touser);
ws.setTemplateId("9qvgBhfW9yoQJY91iMfhrog8y5eZUPSbo9PLvQzS_vk");
// 新的公众号消息模版
// ws.setTemplateId("4s0xcovQfT89MYPkUEesBsPD_ONRMPsx_9jxi61Qd-c");
ws.setDataObject(jsonObject);
wxService.sendSubTemplateMsg(ws);
}
......
......@@ -259,6 +259,8 @@ public class WithdrawalServiceImpl implements WithdrawalService {
if(info != null && info.getOpenId() != null){
String touser = info.getOpenId();
JSONObject jsonObject = spellMsg(applyInfo.getEmpName(), applyInfo.getPayAmount(), applyInfo.getPayAccount());
// 新的公众号修改
// JSONObject jsonObject = spellMsg(applyInfo.getPayAmount(), applyInfo.getPayAccount());
ws.setTouser(touser);
ws.setTemplateId("y6PHvZownxqR5hf4dSXaa2Lp1jeq3ccytd6G-kUQla4");
ws.setDataObject(jsonObject);
......@@ -330,5 +332,25 @@ public class WithdrawalServiceImpl implements WithdrawalService {
data.put("keyword4",keyword4);
return data;
}
// 新的公众号消息推送
// public JSONObject spellMsg(Double payAmount, String payAccount){
// JSONObject data=new JSONObject();
//
// //提现金额:{{amount1.DATA}}
// JSONObject amount1=new JSONObject();
// amount1.put("value",payAmount);
// data.put("amount1",amount1);
//
// //提现账户:{{character_string2.DATA}}
// JSONObject character_string2=new JSONObject();
// character_string2.put("value",payAccount);
// data.put("character_string2",character_string2);
//
// //处理时间:{{time7.DATA}}
// JSONObject time7=new JSONObject();
// time7.put("value",new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()));
// data.put("keyword4",time7);
// return data;
// }
}
......@@ -55,6 +55,9 @@ wx:
sub:
appid: wx5c6a105a0ddca4c5
secret: 96c75255dd26f82f8d55e15b59e101c7
# 新的公众号配置信息
# appid: wx50b22db275f8c320
# secret: 7b609851705dd22114fff636d0a2fc4a
#小程序
app:
id: wx18b7883acd204278
......
......@@ -24,6 +24,9 @@ wx:
sub:
appid: wx5c6a105a0ddca4c5
secret: 96c75255dd26f82f8d55e15b59e101c7
# 新的公众号配置信息
# appid: wx50b22db275f8c320
# secret: 7b609851705dd22114fff636d0a2fc4a
app:
id: wx18b7883acd204278
secret: 28afe74ba373830237a8133a7431ee82
......
......@@ -53,6 +53,9 @@ wx:
sub:
appid: wx5c6a105a0ddca4c5
secret: ${WECHAT_SUB_SECRET}
# 新的公众号配置信息
# appid: wx50b22db275f8c320
# secret: 7b609851705dd22114fff636d0a2fc4a
app:
id: wx18b7883acd204278
secret: ${WECHAT_APPLET_SECRET}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论