- 已经上线的小程序,但是访问不到任何数据,数据是通过IP进行访问的,访问不到数据的原因是什么?
开发环境使用域名进行访问时一直提示,不在以下 request 合法域名列表中,即便在后台进行了域名配置也不行,使用域名的时候上传代码,审核人员说我没有数据,我就改成了ip访问,然后通过了,通过后部署上线后就又看不到数据了,不知道是哪里的问题 globalData: { userId: 0, userInfo: null, word: '', typeId:'', apiUrl: 'https://tuangou.xytgfw.cn/api/xcx/index.aspx', hostUrl: 'https://tuangou.xytgfw.cn/', }
05-21 - ICP备案审核已经10天了,也没个短信,一直是管局审核中,难道真的要等20天吗?
ICP备案审核已经10天了,也没个短信,一直是管局审核中,难道真的要等20天吗?
05-21 - 小程序端调用OCR,提示报错 operateWXData:fail (err_code -8)?
wx.serviceMarket.invokeService({ service: 'wx4418e3e031e551be', // '固定为服务商OCR的appid,非小程序appid', api: 'OcrAllInOne', data: { img_url: "http://xxjgyy.com/Images/idcardz.jpg", data_type: 3, ocr_type: 1, }, }).then(res => { console.log('invokeService success', res) wx.showModal({ title: 'cost', content: (Date.now() - d) + '', }) }).catch(err => { console.error('invokeService fail', err) wx.showModal({ title: 'fail', content: err + '', }) }) 不知道是哪里写错了还是别的原因。[图片] 调试基础库为 2.10.4 基础库版本为:2.9.5
2020-08-19