Exemple #1
0
 /* (non-Javadoc)
  * @see org.sword.wechat4j.token.Token#accessTokenUrl()
  */
 @Override
 protected String accessTokenUrl() {
   String access_token = TokenProxy.accessToken();
   String url = TICKET_URL + "access_token=" + access_token + "&type=" + this.type;
   logger.info("获取ticket,ticket类型" + this.type);
   return url;
 }
Exemple #2
0
 protected String accessTokenUrl() {
   String access_token = TokenProxy.accessToken();
   String url =
       "https://api.weixin.qq.com/cgi-bin/ticket/getticket?access_token="
           + access_token
           + "&type="
           + this.type;
   logger.info("获取ticket,ticket类型" + this.type);
   return url;
 }