- 授权给三方平台的小程序更新代码总是返回system error
- 我们在开发三方平台,很多小程序授权给我们,我们有新的代码上线的时候,会将授权给我们的小程序代码全部更新至最新版本;然而有一家小程序总是无法更新,调用的api为:https://api.weixin.qq.com/wxa/commit?access_token=TOKEN Post的数据为: [代码]{[代码][代码]"user_version"[代码][代码]:[代码][代码]"SaaS0809"[代码][代码],[代码][代码]"user_desc"[代码][代码]:[代码][代码]"main: 11:50"[代码][代码],[代码][代码]"ext_json"[代码][代码]:[代码][代码]"{\"ext\":{\"appids\":{\"main\":\"wx2d3f8f5af2626503\",\"card\":\"wxa798853f016ec5e6\"},\"extAppid\":\"wx2d3f8f5af2626503\",\"diyStyle\":{\"pages\":{\"mypage\":{\"contactIconUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/feedback-icon-default.png\"},\"login\":{\"backgroundUrl\":\"\",\"topLogoUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/login-logo.png\"},\"newest\":{\"topLogoBarUrl\":\"\"}},\"common\":{\"cardName\":\"名片\",\"tagName\":\"组织\",\"myFriends\":\"我的联系人\",\"colors\":{\"sub\":\"#20a0ff\",\"isWhiteLoginTitle\":1,\"loginNavBgColor\":\"#000000\",\"main\":\"#20a0ff\"},\"productName\":\"香港科大EMBA校友会\",\"logoUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/first-sailing-logo.png\",\"servicePlatformName\":\"香港科大EMBA校友会\",\"userTitle\":\"好友\",\"sizes\":{},\"hugsText\":{\"invisibleTip\":\"联系方式成为好友后可见\",\"waitingAgree\":\"等待对方同意\",\"alreadyHugedFriends\":\"好友\",\"waitingHug\":\"等待对方同意\",\"noFriends\":\"还没有好友\",\"alreadyFriends\":\"已为好友\",\"hugSuccess\":\"加好友成功\",\"hug\":\"加好友\",\"addFriends\":\"加好友\",\"hugAction\":\"你请求添加xxxx为好友\",\"hugYou\":\"请求添加你为好友\"},\"ambassador\":{\"happyPngUrl\":\"http://tc1.ixiaolian.cc/mp/resource/yun-default/v2/happy.png\",\"speakingGifUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/login-for-gif.png\",\"backTagDetailUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/back-tag-detail.png\",\"appearGifUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/login-for-gif.png\",\"placeholderCardUrl\":\"http://www.ixiaolian.cc/mp/resource/timerbox/common/card-placeholder.jpeg\",\"cryingPngUrl\":\"http://tc1.ixiaolian.cc/mp/resource/yun-default/v2/crying.png\",\"sadPngUrl\":\"http://tc1.ixiaolian.cc/mp/resource/yun-default/v2/sad.png\",\"speakingPngUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/speaking-default.png\",\"doubtGifUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/login-for-gif.png\"},\"attention\":{\"mainObject\":\"中国(香港)科大研究开发有限公司北京代表处\",\"category\":\"效率\",\"logoUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/first-sailing-logo.png\"},\"protocolUrl\":{\"createTag\":\"\",\"createEvent\":\"\",\"login\":\"\"},\"imgWhenShareUrl\":\"http://www.ixiaolian.cc/mp/resource/yun-default/v1/img-when-share.png\"}},\"config\":{\"userinfoArray\":[],\"baseUrl\":\"https://api.itimebox.com/server/ytime_cloud/\",\"flag\":{\"isNeedConfirmUserInfo\":false,\"isNeedCheckUserExist\":false},\"uploadUrl\":\"https://api.itimebox.com/server/file/upload\",\"downloadUrl\":\"\",\"socketUrl\":\"\",\"productKey\":\"5ijc6E2odsH00zR0ycuT5Vblbp9SM75M\"}},\"extAppid\":\"wx2d3f8f5af2626503\",\"tabBar\":{\"list\":[{\"selectedIconPath\":\"images/menu/menu_newest_selected.png\",\"text\":\"首页\",\"pagePath\":\"pages/home\",\"iconPath\":\"images/menu/menu_newest.png\"},{\"selectedIconPath\":\"images/menu/menu_mytime_selected.png\",\"text\":\"已参加\",\"pagePath\":\"pages/timeline\",\"iconPath\":\"images/menu/menu_mytime.png\"},{\"selectedIconPath\":\"images/menu/menu_kkk_selected.png\",\"text\":\"组织\",\"pagePath\":\"pages/tags\",\"iconPath\":\"images/menu/menu_kkk.png\"},{\"selectedIconPath\":\"images/menu/menu_mypage_selected.png\",\"text\":\"我的\",\"pagePath\":\"pages/mine\",\"iconPath\":\"images/menu/menu_mypage.png\"}]},\"window\":{\"navigationBarTitleText\":\"香港科大EMBA校友会\"},\"extEnable\":true}"[代码][代码],[代码][代码]"template_id"[代码][代码]:[代码][代码]110[代码][代码]}[代码]回包总是 {"errcode":-1,"errmsg":"system error hint: [PBb_903751518]"} 其他小程序更新代码均无误,唯独这个小程序一直system error,无法解决 - 预期 回包 errcode:0
2018-08-09 - 转换wx.uploadFile返回的json串出现异常
使用JSON.parse(res.data)转换图片上传后服务端返回的数据,偶现JSON Parse error: Unrecognized token '<'; at api uploadFile success callback function
2018-08-19