第三方上传“开发小程序”代码后 总是提示47001

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

{“template_id”:1,“ext_json”:{“extAppid”:“123123”,“ext”:{“name”:“12312”},“extPages”:{“index”:“index”},“pages”:[],“window”:{“navigationBarTitleText”:“自定义”},“networkTimeout”:[],“tabBar”:[]},“user_version”:“V2.0”,“user_desc”:“测试代码上传”}

返回

Array ( [errcode] => 47001 [errmsg] => data format error hint: [Wosy90441wxa2] )

json格式没问题我校检了 百思不得其解啊 请大佬解答

1 回复
guiyinggu
guiyinggu1 楼4 年前

还是我自己解决吧 问题出在ext_json 这个上

php的话需要先把ext_json的值 json_encode转化为json