소스 검색

#1106 修复获取公众号 jsapi_ticket 请求 Url 拼接问题

master
ArBing 5 년 전
committed by Binary Wang
부모
커밋
09b726fd0b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/BaseWxMpServiceImpl.java

+ 1
- 1
weixin-java-mp/src/main/java/me/chanjar/weixin/mp/api/impl/BaseWxMpServiceImpl.java 파일 보기

@@ -97,7 +97,7 @@ public abstract class BaseWxMpServiceImpl<H, P> implements WxMpService, RequestH

if (this.getWxMpConfigStorage().isTicketExpired(type)) {
String responseContent = execute(SimpleGetRequestExecutor.create(this),
GET_TICKET_URL + type.getCode(), null);
GET_TICKET_URL.getUrl(this.getWxMpConfigStorage()) + type.getCode(), null);
JsonObject tmpJsonObject = JSON_PARSER.parse(responseContent).getAsJsonObject();
String jsapiTicket = tmpJsonObject.get("ticket").getAsString();
int expiresInSeconds = tmpJsonObject.get("expires_in").getAsInt();


불러오는 중...
취소
저장