类 com.github.sd4324530.fastweixin.api.enums.ResultType
的使用

使用 ResultType 的软件包
com.github.sd4324530.fastweixin.api   
com.github.sd4324530.fastweixin.api.enums   
 

com.github.sd4324530.fastweixin.apiResultType 的使用
 

返回 ResultTypecom.github.sd4324530.fastweixin.api 中的方法
 ResultType CustomAPI.addCustomAccount(CustomAccount customAccount)
          添加客服帐号
 ResultType UserAPI.batchDeleteTagsToUser(List<String> openidList, Integer tagId)
          批量为用户取消标签
 ResultType UserAPI.batchTagsToUser(List<String> openidList, Integer tagId)
          批量为用户打上标签 标签功能目前支持公众号为用户打上最多三个标签。
 ResultType MenuAPI.createMenu(Menu menu)
          创建菜单 1.3.7开始支持个性化菜单
 ResultType MenuAPI.deleteConditionalMenu(String menuId)
          删除个性化菜单
 ResultType CustomAPI.deleteCustomAccount(String accountName)
          删除客服帐号
 ResultType UserAPI.deleteGroup(Integer groupId)
          删除分组
 ResultType MaterialAPI.deleteMaterial(String mediaId)
          删除一个永久素材
 ResultType MenuAPI.deleteMenu()
          删除所有菜单,包括个性化菜单
 ResultType TagAPI.deleteTag(Integer tagId)
          删除标签
 ResultType UserAPI.moveGroupUser(String[] openids, String toGroupid)
          移动关注者所在分组
 ResultType UserAPI.moveGroupUser(String openid, String toGroupid)
          移动关注者所在分组
 ResultType MessageAPI.sendCustomMessage(String openid, BaseMsg message)
          已过时。 此方法已经不再建议使用,使用CustomAPI中方法代替
 ResultType CustomAPI.sendCustomMessage(String openid, BaseMsg message)
          发布客服消息
 ResultType TemplateMsgAPI.setIndustry(Industry industry)
          设置行业
 ResultType UserAPI.setUserRemark(String openid, String remark)
          设置关注者备注
 ResultType CustomAPI.updateCustomAccount(CustomAccount customAccount)
          修改客服帐号信息
 ResultType UserAPI.updateGroup(Integer groupid, String name)
          修改分组信息
 ResultType TagAPI.updateTag(Integer tagId, String newTagName)
          编辑标签
 ResultType CustomAPI.uploadHeadImg(String accountName, File file)
          设置客服帐号头像
 

com.github.sd4324530.fastweixin.api.enumsResultType 的使用
 

返回 ResultTypecom.github.sd4324530.fastweixin.api.enums 中的方法
static ResultType ResultType.get(String code)
          通过code得到返回结果对象
static ResultType ResultType.valueOf(String name)
          返回带有指定名称的该类型的枚举常量。
static ResultType[] ResultType.values()
          按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。
 



Copyright © 2017. All rights reserved.