修改y移动端图片上传配置api
parent
fc25cdfa02
commit
6397287238
|
@ -453,7 +453,7 @@ export default {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title: '图片上传中',
|
title: '图片上传中',
|
||||||
});
|
});
|
||||||
let urlPath = HTTP_ADMIN_URL + '/admin/upload/image' + "?model=" + model + "&pid=" + pid
|
let urlPath = HTTP_ADMIN_URL + '/api/admin/upload/image' + "?model=" + model + "&pid=" + pid
|
||||||
let localPath = res.tempFilePaths[0];
|
let localPath = res.tempFilePaths[0];
|
||||||
uni.uploadFile({
|
uni.uploadFile({
|
||||||
url: urlPath,
|
url: urlPath,
|
||||||
|
|
Loading…
Reference in New Issue