Blame view

src/main/java/com/jfinal/weixin/sdk/api/AutoReplyInfoApi.java 603 Bytes
e80df919   atao   init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  package com.jfinal.weixin.sdk.api;
  
  import com.jfinal.weixin.sdk.utils.HttpUtils;
  
  /**
   * 获取自动回复规则
   * @author L.cm
   * email: 596392912@qq.com
   * site:http://www.dreamlu.net
   * date: 2016215 下午10:08:50
   */
  public class AutoReplyInfoApi {
  
      private static String getCurrentAutoreplyInfoUrl = "https://api.weixin.qq.com/cgi-bin/get_current_autoreply_info?access_token=";
  
      public static ApiResult getCurrent() {
          String jsonResult = HttpUtils.get(getCurrentAutoreplyInfoUrl + AccessTokenApi.getAccessTokenStr());
          return new ApiResult(jsonResult);
      }
  
  }