|
@ -164,7 +164,7 @@ public class PushMsgTask {
|
|
|
// private static final String termination = "C0tdXtA_8k-Cy4a1EkzQuI877vqaqAtRkc-e_Gsd7sk";
|
|
|
// private static final String appointmentSuccess = "FY3Pqa66tHIE1Fv-irbFBPOh5cYP71fkOzfZKH4S-Fo";
|
|
|
// private static final String appointmentCancel = "tldWEb9AN7p_RoHoD8ml0GxWW3V1V_mpEEhp2v6p56s";
|
|
|
private static final String url = "http://www.xmtyw.cn/wlyy/wx/html/";
|
|
|
// private static final String url = "http://www.xmtyw.cn/wlyy/wx/html/";
|
|
|
|
|
|
/**
|
|
|
* 发送微信模板消息
|
|
@ -213,6 +213,7 @@ public class PushMsgTask {
|
|
|
*/
|
|
|
public String typeMsg(int type, String openid, String name, JSONObject json) {
|
|
|
try {
|
|
|
String url = SystemConf.getInstance().getSystemProperties().getProperty("server_url") + "wx/html/";
|
|
|
WechatTemplate temp = new WechatTemplate();
|
|
|
temp.setTouser(openid);
|
|
|
temp.setTopcolor("#000000");
|