收藏
回答

获取菜单信息不返回key值?

appid:wx0edcf634fac86d1c 

请求时间点:2023-09-06 11:07:40

请求接口:https://api.weixin.qq.com/cgi-bin/menu/get?access_token=72_U0SibF8Q1mxNJPjqVFDIrl4mPydcdZrpej9c7KaAMz3sy77xHhdAF8nyIsvpGdYypfDC2_JcCC3vrKBJUjVI6f3ZUMIz6hqgE8ULRxDmezbXNTPeNaPMVlxFXgoUQUhAHADZD

返回结果:{

"menu": {

"button": [{

"name": "今日天气1",

"sub_button": [{

"type": "view",

"name": "小白兔",

"url": "http:\\www.baidu.com",

"sub_button": []

}, {

"type": "media_id",

"name": "小老虎",

"sub_button": [],

"media_id": "M_0VPt-fP2YCJ9WV7XQHFBB8MdZP0C0oXJQ5j8O2B033hjFg6UI0YAo2N7sIzN8J"

}]

}, {

"name": "默认菜单",

"sub_button": [{

"type": "media_id",

"name": "百度",

"sub_button": [],

"media_id": "M_0VPt-fP2YCJ9WV7XQHFBB8MdZP0C0oXJQ5j8O2B033hjFg6UI0YAo2N7sIzN8J"

}, {

"type": "media_id",

"name": "赞一下我们1",

"sub_button": [],

"media_id": "M_0VPt-fP2YCJ9WV7XQHFBB8MdZP0C0oXJQ5j8O2B033hjFg6UI0YAo2N7sIzN8J"

}]

}, {

"type": "view",

"name": "今日看点",

"url": "http:\\www.baidu.com",

"sub_button": []

}]

}

}

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容