com.github.sd4324530.fastweixin.api
类 SystemAPI

java.lang.Object
  继承者 com.github.sd4324530.fastweixin.api.BaseAPI
      继承者 com.github.sd4324530.fastweixin.api.SystemAPI

public class SystemAPI
extends BaseAPI

系统API

作者:
peiyu

字段摘要
 
从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的字段
BASE_API_URL, config
 
构造方法摘要
SystemAPI(ApiConfig config)
           
 
方法摘要
 List<String> getCallbackIP()
          获取微信服务器IP地址列表
 String getShortUrl(String longUrl)
          将一条长链接转成短链接
 
从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的方法
executeGet, executePost, executePost, isSuccess
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SystemAPI

public SystemAPI(ApiConfig config)
方法详细信息

getCallbackIP

public List<String> getCallbackIP()
获取微信服务器IP地址列表

返回:
IP地址列表

getShortUrl

public String getShortUrl(String longUrl)
将一条长链接转成短链接

参数:
longUrl - 长链接
返回:
对应的短链接


Copyright © 2017. All rights reserved.