调用的接口地址是: https://api.weixin.qq.com/cgi-bin/menu/create?access_token=
调用创建自定义菜单接口报错40120:无效的按钮类型?参数: { "button":[ { "name":"人才招聘", "sub_button":[ { "type":"view", "name":"企业招聘", "url":"http://m.wanyuan.ccoo.cn/post/job/" }, { "type":"view", "name":"个人求职", "url":"http://m.wanyuan.ccoo.cn/post/qiuzhi/" }, { "type":"view", "name":"兼职招聘", "url":"http://m.wanyuan.ccoo.cn/post/jianzhi/" } ] }, { "name":"房屋租售", "sub_button":[ { "type":"view", "name":"万源楼盘", "url":"http://m.wanyuan.ccoo.cn/post/xinloupan/" }, { "type":"view", "name":"房屋售买", "url":"http://m.wanyuan.ccoo.cn/post/fangwu/fc_chushou.aspx" }, { "type":"view", "name":"房屋出租", "url":"http://m.wanyuan.ccoo.cn/post/fangwu/fc_chuzu.aspx" }, { "type":"view", "name":"求租住房", "url":"http://m.wanyuan.ccoo.cn/post/fangwu/xq" } ] } ] } 结果: "errcode":40120,"errmsg":"invalid use sub button type hint: [7GvLGA08410356]"} 哪里出了问题?
2020-07-01我遇到过好几次,本来授权的好好的,突然就不能用了,检查原因是刷新token无效:{"errcode":61023,"errmsg":"refresh_token is invalid hint: [ZYr3MA09552029]"},想知道什么情况下会出现这种情况?这样我也可以友好的提示用户重新授权,突然不能用了就很尴尬还要被老板骂。
关于授权公众号authorizer_refresh_token过期问题授权的公众号每次去拿authorizer_access_token的时候都会重置authorizer_refresh_token的过期时间吗?长时间不更新授权公众号的authorizer_access_token就会导致authorizer_refresh_token失效嘛?
2019-12-10