小程序第三方平台时授权的小程序帐号上传小程序代码出错

发布于 6 年前作者 min8710454 次浏览最后编辑 6 年前来自 ask

返回的结果是{“errcode”:85013,“errmsg”:“invalid ext_json, maybe path(page, icon…) is not found in the template hint: [q4WW5a0140dx24]”}

POST数据为:{“ext_json”:“{extAppid:\“xxxxxxxxxxxx\”, ext:{ \“attr1\”:\“value1\”}, extPages:{ }, pages:[\“page/index/index\”, \“page/users/users\”], \“window\”:{ }, \“networkTimeout\”:{ }, \“tabBar\”:{\“list\”: [{\“selectedIconPath\”: \“resources/cbt-icon.png\”,\“pagePath\”: \“page/index/index\”,\“iconPath\”: \“resources/cbt-icon.png\”,\“text\”: \“附近\”},{\“selectedIconPath\”:\“resources/cbt-icon.png\”,\“pagePath\”: \“page/users/users\”,\“iconPath\”:\“resources/cbt-icon.png\”,\“text\”:\“我的\”}]}}”,“user_version”:“v1.2.1”,“user_desc”:“xxxxxx”,“template_id”:5}

请问各位打卡这是什么问题,急!!!!

2 回复
xia19
xia191 楼6 年前

解析失败,extAppid之类的字符串都要加上双引号

fang31
fang312 楼4 年前

有人么