File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1051,7 +1051,7 @@ public String getCardApiTicket(boolean forceRefresh) throws WxErrorException {
10511051 synchronized (globalCardApiTicketRefreshLock ) {
10521052 if (wxMpConfigStorage .isCardApiTicketExpired ()) {
10531053 String url = "https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=wx_card" ;
1054- String responseContent = execute (new SimpleGetRequestExecutor (), url , null );
1054+ String responseContent = execute (new JoddGetRequestExecutor (), url , null );
10551055 JsonElement tmpJsonElement = Streams .parse (new JsonReader (new StringReader (responseContent )));
10561056 JsonObject tmpJsonObject = tmpJsonElement .getAsJsonObject ();
10571057 String cardApiTicket = tmpJsonObject .get ("ticket" ).getAsString ();
You can’t perform that action at this time.
0 commit comments