|
|
@@ -259,7 +259,7 @@ export default { |
|
|
|
// filePath 为临时文件的路径 |
|
|
|
// formData 为请求附带的提交数据 |
|
|
|
async HTTP_UPLOAD(filePath, formData) { |
|
|
|
const [err, res] = await this.UPLOAD('/annexes/wxupload', filePath, formData) |
|
|
|
const [err, res] = await this.UPLOAD('/learun/adms/annexes/wxupload', filePath, formData) |
|
|
|
|
|
|
|
return this.handleResult(err, res) |
|
|
|
}, |
|
|
@@ -276,7 +276,7 @@ export default { |
|
|
|
// url 为请求地址 |
|
|
|
// formData 为请求附带的提交数据 |
|
|
|
async HTTP_DOWNLOAD(formData) { |
|
|
|
const [err, res] = await this.DOWNLOAD('/annexes/wxdown', formData) |
|
|
|
const [err, res] = await this.DOWNLOAD('/learun/adms/annexes/wxdown', formData) |
|
|
|
|
|
|
|
return this.handleResult(err, res) |
|
|
|
}, |
|
|
|