uploadFile报错unable to verify the first certificat?
使用wx.uploadFile时,URL采用本机的一个链接API接口;但无法访问;老报unable to verify the first certificat;这是为什么? 代码就是基础的样例代码; wx.uploadFile({ url: 'https://localhost:44325/Server/ServerFood', // 仅为示例,非真实的接口地址 filePath: that.data.Images_Address, name: 'upload', formData: { user: 'test' }, success(res) { console.log('success', res.data, res.statusCode) // do something }, fail(res) { const data = res.data wx.showModal({ title: 'fail', content: 'fail', }) // do something } }) [图片][图片]