小程序外链网页
审核问题?关于小程序中的网址审核不通过,回复能不能详细点
2020-07-31我的也是这个问题,求助
wx.uploadFile 无法上传图片https://developers.weixin.qq.com/miniprogram/dev/api/network/upload/wx.uploadFile.html chooseImg: function (e) { var that = this, housePics = this.data.housePics, picsCount = this.data.picsCount; if (housePics.length < picsCount) { wx.chooseImage({ count: picsCount, // 最多可以选择的图片张数,默认9 // sizeType: ['original', 'compressed'], // original 原图,compressed 压缩图,默认二者都有 // sourceType: ['album', 'camera'], // album 从相册选图,camera 使用相机,默认二者都有 success: function (res) { // console.log('wx.chooseImage res = ' + JSON.stringify(res)); // 返回选定照片的本地文件路径列表,tempFilePath可以作为img标签的src属性显示图片 var tempFilePaths = res.tempFilePaths; for (var i = 0; i < tempFilePaths.length; i++) { if (housePics.length < picsCount) housePics.push(tempFilePaths[i]); } console.log(housePics); that.setData({ housePics: housePics }); that.wxUploadFile(tempFilePaths); }, }); } else { wx.showToast({ title: '最多上传' + picsCount + '张图片', icon: 'none', duration: 3000 }); } }, wxUploadFile: function (tempFilePaths) { console.log('wxUploadFile: function (tempFilePaths) tempFilePaths = ' + JSON.stringify(tempFilePaths)); const that = this; if (!tempFilePaths.length) { console.log('全部上传成功!'); } else { const tempFilePath = tempFilePaths.pop(); console.log('wxUploadFile: before wx.uploadFile({ url = ' + r.getEnvironmentData("serverUrl") + '/wxUploadFile5.api'); console.log('wxUploadFile: before wx.uploadFile({ tempFilePath = ' + tempFilePath); wx.uploadFile({ url: r.getEnvironmentData("serverUrl") + '/wxUploadFile5.api', // url: r.getEnvironmentData("serverUrl") + '/fileUpload/upload', // filePath: tempFilePaths[0], filePath: String(tempFilePath), // filePath: 'https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png', // name: 'image', name: 'file', header: { "Content-Type": "multipart/form-data" }, formData: { paramData: 'aaa', // 'token': app.globalData.token, //一个签名认证,本项目的需要,其他项目不一定要 }, success: function (res) { console.log('wxUploadFile: before wx.uploadFile() success res = ' + JSON.stringify(res)); // var resultData = JSON.parse(result.data) // console.log(resultData.data.url); that.wxUploadFile(tempFilePaths); }, fail: function (e) { console.log(e); }, complete: function (res) { } }) } },
2020-07-23你好 , https://www.kuasengy.cn 域名被微信屏蔽,帮忙解除,域名已备案。麻烦帮忙解除,非常感谢 @官方客服
域名被微信拦截怎么解决?我的备案域名被微信拦截了,没有申诉入口,怎么办?[图片]
2020-07-22