协同宣发

This commit is contained in:
yanran200730
2022-09-14 18:04:50 +08:00
parent ebce8b7025
commit 0c2ac4808a
2 changed files with 32 additions and 29 deletions

View File

@@ -552,9 +552,10 @@ export default {
}[type]
let formData = new FormData()
formData.append('file', file.file)
formData.append('type', fileType)
formData.append('attachmentType', 1)
formData.append('mediaType', fileType)
let loading = this.$loading()
this.instance.post(`/app/wxcp/upload/uploadFile`, formData, {
this.instance.post(`/app/wxcp/upload/uploadAttachment`, formData, {
withCredentials: false
}).then(res => {
if (res.code == 0) {