Browse Source

上传路径修改

master
liuchang 1 month ago
parent
commit
df019e340e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      utils/utils.ts

+ 1
- 1
utils/utils.ts View File

console.log("tempImagePath", tempImagePath, tempImagePath.size,imageType) console.log("tempImagePath", tempImagePath, tempImagePath.size,imageType)
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
uni.uploadFile({ uni.uploadFile({
url: 'https://qtzl.etcjz.cn/newProd/prod/minIo/upload', //仅为示例,非真实的接口地址
url: 'https://qtzl.etcjz.cn/newProd/minIo/upload', //仅为示例,非真实的接口地址
filePath: tempImagePath, filePath: tempImagePath,
name: 'file', name: 'file',
formData: { formData: {

Loading…
Cancel
Save