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 {
1051
1051
synchronized (globalCardApiTicketRefreshLock ) {
1052
1052
if (wxMpConfigStorage .isCardApiTicketExpired ()) {
1053
1053
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 );
1055
1055
JsonElement tmpJsonElement = Streams .parse (new JsonReader (new StringReader (responseContent )));
1056
1056
JsonObject tmpJsonObject = tmpJsonElement .getAsJsonObject ();
1057
1057
String cardApiTicket = tmpJsonObject .get ("ticket" ).getAsString ();
You can’t perform that action at this time.
0 commit comments