|
@@ -32,7 +32,7 @@ const chooseImage = () => {
|
|
|
console.log(res)
|
|
console.log(res)
|
|
|
const tempFilePath = res.tempFiles[0].tempFilePath
|
|
const tempFilePath = res.tempFiles[0].tempFilePath
|
|
|
uni.uploadFile({
|
|
uni.uploadFile({
|
|
|
- url: 'https://ukw0y1.laf.run/uploadFile',
|
|
|
|
|
|
|
+ url: 'https://ukw0y1.laf.run/upload',
|
|
|
filePath: tempFilePath,
|
|
filePath: tempFilePath,
|
|
|
name: 'file',
|
|
name: 'file',
|
|
|
formData: {
|
|
formData: {
|
|
@@ -53,7 +53,7 @@ const chooseImage = () => {
|
|
|
console.log(res)
|
|
console.log(res)
|
|
|
const tempFilePath = res.tempFilePaths[0]
|
|
const tempFilePath = res.tempFilePaths[0]
|
|
|
uni.uploadFile({
|
|
uni.uploadFile({
|
|
|
- url: 'https://ukw0y1.laf.run/uploadFile',
|
|
|
|
|
|
|
+ url: 'https://ukw0y1.laf.run/upload',
|
|
|
filePath: tempFilePath,
|
|
filePath: tempFilePath,
|
|
|
name: 'file',
|
|
name: 'file',
|
|
|
formData: {
|
|
formData: {
|