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 {
140140 if (wxCpConfigStorage .isJsapiTicketExpired ()) {
141141 synchronized (globalJsapiTicketRefreshLock ) {
142142 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 " ;
144144 String responseContent = execute (new SimpleGetRequestExecutor (), url , null );
145145 JsonElement tmpJsonElement = Streams .parse (new JsonReader (new StringReader (responseContent )));
146146 JsonObject tmpJsonObject = tmpJsonElement .getAsJsonObject ();
You can’t perform that action at this time.
0 commit comments