Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MenuAPI 创建个性化菜单返回menuid不支持 #198

Closed
yaosing opened this issue Apr 4, 2019 · 0 comments
Closed

MenuAPI 创建个性化菜单返回menuid不支持 #198

yaosing opened this issue Apr 4, 2019 · 0 comments

Comments

@yaosing
Copy link

yaosing commented Apr 4, 2019

  • version:2.8.26
  • MenuAPI 类的menuAddConditional方法返回值不包含menuid
	/**
	 * 创建个性化菜单
	 * @param access_token access_token
	 * @param menuButtons menuButtons
	 * @return BaseResult
	 */
	public static BaseResult menuAddconditional(String access_token,MenuButtons menuButtons){
		String menuJson = JsonUtil.toJSONString(menuButtons);
		return menuAddconditional(access_token,menuJson);
	}
  • 建议创建ConditionalMenuResult接收结果
public class ConditionalMenuResult extends BaseResult {
    private String menuid;

    public String getMenuid() {
        return menuid;
    }

    public void setMenuid(String menuid) {
        this.menuid = menuid;
    }

}
{"menuid":"208379533"}
  • 另外貌似测试个性化菜单匹配结果menuTrymatch这个api返回也不太对
    Thanks,
    TerryYao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants