https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/code/commit.html
"{\"extEnable\":true,\"extAppid\":\"wx8e12fbdcf96b3e17\",\"directCommit\":false,\"ext\":{\"name\":\"wechat\",\"attr\":{\"host\":\"open.weixin.qq.com\",\"users\":[\"user_1\",\"user_2\"]}},\"extPages\":{\"pages/logs/logs\":{\"navigationBarTitleText\":\"logs\"}},\"window\":{\"backgroundTextStyle\":\"light\",\"navigationBarBackgroundColor\":\"#fff\",\"navigationBarTitleText\":\"Demo\",\"navigationBarTextStyle\":\"black\"},\"tabBar\":{\"list\":[{\"pagePath\":\"pages/index/index\",\"text\":\"首页\"},{\"pagePath\":\"pages/logs/logs\",\"text\":\"日志\"}]},\"networkTimeout\":{\"request\":10000,\"downloadFile\":10000}}"
以上是我在第三方平台上传小程序代码接口时的ext_json内容,是复制的ext.json
内容,为什么一直报{"errcode":47001,"errmsg":"data format error hint: [cNusNa00943955]"},请帮忙看一下,多谢!!!
我这边是有中文就报47001 , 改了一下httpClient 编码就好了
可以参考下帖子右侧相关问题推荐:
报错数据格式错误,检查下代码