或者相关的文档链接...?
能在自己的小程序里创建腾讯会议么?能在自己的第三方小程序里,调用腾讯会议api,创建会议么? 或者能带参数跳转到腾讯会议小程序,跳转后直接是一个创建好的会议么?
2021-10-16已经到了我的服务端,但debug时,request里面是空的,不仅没有图片,连我特地放的 formData也没有
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-03