无法为授权的小程序帐号上传小程序代码,求大神帮忙看看怎么回事?
发布于 6 年前 作者 jietan 11171 次浏览 来自 问答
{
 "extAppid": "xxx",
 "ext": {
"name": "demo",
   "attr": {}
},
 "extPages": {
"pages/user/index": {
"navigationBarTitleText": "news"
   }
},
 "pages":["pages/index/index","pages/user/index"],
 "window":{
"backgroundTextStyle":"light",
   "navigationBarBackgroundColor": "#fff",
   "navigationBarTitleText": "Demo",
   "navigationBarTextStyle":"black"
 },
 "tabBar": {
"list": [{
"pagePath": "pages/index/index",
     "iconPath": "images/icon_index.png",
     "selectedIconPath": "images/icon_index_act.png",
     "text": "资讯"
   },
     {
"pagePath": "pages/user/index",
       "iconPath": "images/profile.png",
       "selectedIconPath": "images/profile_active.png",
       "text": "我的"
     }
]
},
 "networkTimeout": {
"request": 10000,
   "downloadFile": 10000
 }
}

我将这段代码复制进输入框,输入框再将这段json_string decode再encode 回字符串类型,

post上去返回

  ["errcode"] => int(47001)

["errmsg"] => string(40) "data format error hint: [vzCoza0573dx24]"


将官方示例那段上传也不行


求大神帮忙看看怎么回事,谢谢 。

回到顶部