|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.github.sd4324530.fastweixin.api.BaseAPI
com.github.sd4324530.fastweixin.api.MenuAPI
public class MenuAPI
菜单相关API 1.3.7支持个性化菜单
| 字段摘要 |
|---|
| 从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的字段 |
|---|
BASE_API_URL, config |
| 构造方法摘要 | |
|---|---|
MenuAPI(ApiConfig config)
|
|
| 方法摘要 | |
|---|---|
ResultType |
createMenu(Menu menu)
创建菜单 1.3.7开始支持个性化菜单 |
ResultType |
deleteConditionalMenu(String menuId)
删除个性化菜单 |
ResultType |
deleteMenu()
删除所有菜单,包括个性化菜单 |
GetMenuResponse |
getMenu()
获取所有菜单 |
GetMenuResponse |
tryMatchMenu(String userId)
测试个性化菜单 |
| 从类 com.github.sd4324530.fastweixin.api.BaseAPI 继承的方法 |
|---|
executeGet, executePost, executePost, isSuccess |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public MenuAPI(ApiConfig config)
| 方法详细信息 |
|---|
public ResultType createMenu(Menu menu)
menu - 菜单对象
public GetMenuResponse getMenu()
public ResultType deleteMenu()
public ResultType deleteConditionalMenu(String menuId)
menuId - 个性化菜单ID
public GetMenuResponse tryMatchMenu(String userId)
userId - 可以是粉丝的OpenID,也可以是粉丝的微信号
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||