File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
weixin-java-cp/src/main/java/me/chanjar/weixin/cp/api Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ public String getJsapiTicket(boolean forceRefresh) throws WxErrorException {
140
140
if (wxCpConfigStorage .isJsapiTicketExpired ()) {
141
141
synchronized (globalJsapiTicketRefreshLock ) {
142
142
if (wxCpConfigStorage .isJsapiTicketExpired ()) {
143
- String url = "https://api .weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi " ;
143
+ String url = "https://qyapi .weixin.qq.com/cgi-bin/get_jsapi_ticket " ;
144
144
String responseContent = execute (new SimpleGetRequestExecutor (), url , null );
145
145
JsonElement tmpJsonElement = Streams .parse (new JsonReader (new StringReader (responseContent )));
146
146
JsonObject tmpJsonObject = tmpJsonElement .getAsJsonObject ();
You can’t perform that action at this time.
0 commit comments