一个文件上传完成后,开始下载一个文件,下载文件失败,报错errMsg: “downloadFile:fail exceed max download connection count 5”,微信这个下载接口是多线程的么?我就一个文件下载,为什么超过最大并发数,而且文档上写的最大并发数不是10么?
payment: function () { var that = this; wx.chooseImage({ count: 1, sizeType: ['compressed'], sourceType: ['album', 'camera'], success: function (res) { that.upload(res.tempFilePaths[0]); }, }) }, upload: function (path) { wx.uploadFile({ url: 'https://gk-yufabu.360che.com/api/car/upload-car-image', filePath: path, name: 'car_image', header: { 'content-type': 'multipart/form-data' }, formData: { 'companyid': 1, 'managerid': 1, 'cid': 65, 'attach_attr': 1 }, success: function (res) { // success console.log("成功") console.log(res.data) }, fail: function (res) { // fail console.log("失败", res) }, complete: function () { // complete console.log("完成") } }) }, |
我的是上传一个文件,就报错