|
|
|
@ -137,9 +137,11 @@ export default { |
|
|
|
res.tempFilePaths.forEach((filePath) => { |
|
|
|
res.tempFilePaths.forEach((filePath) => { |
|
|
|
console.log("file-----------", filePath); |
|
|
|
console.log("file-----------", filePath); |
|
|
|
console.log("options.baseURL------", options.baseURL); |
|
|
|
console.log("options.baseURL------", options.baseURL); |
|
|
|
|
|
|
|
const server_config = uni.getStorageSync("server-config") |
|
|
|
|
|
|
|
console.log(999999,server_config) |
|
|
|
uni.uploadFile({ |
|
|
|
uni.uploadFile({ |
|
|
|
url: |
|
|
|
url: |
|
|
|
options.baseURL + |
|
|
|
server_config.rootUrl + |
|
|
|
"/blade-resource/oss/endpoint/put-file-attach", |
|
|
|
"/blade-resource/oss/endpoint/put-file-attach", |
|
|
|
filePath: filePath, |
|
|
|
filePath: filePath, |
|
|
|
name: "file", |
|
|
|
name: "file", |
|
|
|
|