Commit 8e785631 authored by 竹天卫's avatar 竹天卫

企业1

parent 16b59340
...@@ -327,7 +327,7 @@ public class WeiXinService { ...@@ -327,7 +327,7 @@ public class WeiXinService {
if (!redisUtil.existsKey(JSAPITICKET)) { if (!redisUtil.existsKey(JSAPITICKET)) {
String param3 = "access_token=%s&type=agent_config"; String param3 = "access_token=%s&type=agent_config";
param3 = String.format(param3, accessToken); param3 = String.format(param3, accessToken);
JSONObject ticketJsonObject = WeixinInterfaceUtil.doGet(Global.ticket, param3); JSONObject ticketJsonObject = WeixinInterfaceUtil.doGet(Global.userTicket, param3);
jsapiTicket = ticketJsonObject.getString("ticket"); jsapiTicket = ticketJsonObject.getString("ticket");
redisUtil.setString(JSAPITICKET, jsapiTicket, 7100); redisUtil.setString(JSAPITICKET, jsapiTicket, 7100);
} }
......
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