修改y移动端图片上传配置api

This commit is contained in:
hejinfu1026
2022-01-14 17:50:32 +08:00
parent e4c670109e
commit 6dc96802a0

View File

@@ -453,7 +453,7 @@ export default {
uni.showLoading({
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];
uni.uploadFile({
url: urlPath,