com.github.sd4324530.fastweixin.company.api
类 QYAgentAPI

java.lang.Object
  继承者 com.github.sd4324530.fastweixin.company.api.QYBaseAPI
      继承者 com.github.sd4324530.fastweixin.company.api.QYAgentAPI

public class QYAgentAPI
extends QYBaseAPI

==================================================================== 上海聚攒软件开发有限公司 --------------------------------------------------------------------

版本:
1.0.beta ====================================================================
作者:
Nottyjay

字段摘要
 
从类 com.github.sd4324530.fastweixin.company.api.QYBaseAPI 继承的字段
BASE_API_URL, config
 
构造方法摘要
QYAgentAPI(QYAPIConfig config)
          构造方法,设置apiConfig
 
方法摘要
 QYResultType create(QYAgent agent, String mediaId)
          已过时。 
 GetQYAgentListResponse getAll()
          获取全部应用列表
 GetQYAgentInfoResponse getInfo(String agentId)
          获取应用信息
 QYResultType update(Map<String,Object> params)
          新的设置应用信息
 
从类 com.github.sd4324530.fastweixin.company.api.QYBaseAPI 继承的方法
executeGet, executePost, executePost, isSuccess
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

QYAgentAPI

public QYAgentAPI(QYAPIConfig config)
构造方法,设置apiConfig

参数:
config - 微信API配置对象
方法详细信息

getAll

public GetQYAgentListResponse getAll()
获取全部应用列表

返回:
应用列表

getInfo

public GetQYAgentInfoResponse getInfo(String agentId)
获取应用信息

参数:
agentId - 应用ID
返回:
应用信息

create

@Deprecated
public QYResultType create(QYAgent agent,
                                      String mediaId)
已过时。 

设置应用信息 ----------------------------------------------- 设置应用信息方法使用新的update方法代替。 -----------------------------------------------

参数:
agent - 应用对象
mediaId - 应用的logo
返回:
创建结果

update

public QYResultType update(Map<String,Object> params)
新的设置应用信息

参数:
params - 参数
返回:
返回结果


Copyright © 2017. All rights reserved.