错误如下:
- 返回结果:
-
- 200 OK
- Connection: keep-alive
- Date: Tue, 18 Jul 2017 01:33:47 GMT
- Content-Type: application/json; encoding=utf-8
- Content-Length: 72
-
{ "errcode": 85005, "errmsg": "appid not bind weapp hint: [SVVrfa0627vr22]" }
- 提示:
- 未知返回状态.
- 配置的菜单如下
- {
"button": [
{
"name": "我要用车",
"sub_button": [
{
"type": "miniprogram",
"name": "在线预订",
"url": "https://w.chesudi.com/Online/searchstore",
"appid": "wx111111111",
"pagepath": "pages/index/index?createtype=4"
} - }
- ]
- }
- 错误原因:
- appid应该写微信小程序的appid 如果小程序申请的主题和微信公众号不一致,也会报错
- url:网页链接,用户点击菜单可打开链接,不超过1024字节。type为miniprogram时,不支持小程序的老版本客户端将打开本url
- pagepath:createtype添加参数,用于统计订单数据来源