修改管理端上传地址错误
parent
c457f6abc9
commit
9a7422b107
|
@ -8,11 +8,12 @@ import {
|
||||||
getRequestWithNoToken,
|
getRequestWithNoToken,
|
||||||
putRequestWithNoForm,
|
putRequestWithNoForm,
|
||||||
postRequestWithNoForm,
|
postRequestWithNoForm,
|
||||||
commonUrl,
|
|
||||||
managerUrl
|
managerUrl
|
||||||
} from "@/libs/axios";
|
} from "@/libs/axios";
|
||||||
import config from "@/config";
|
import config from "@/config";
|
||||||
|
|
||||||
|
let commonUrl = (process.env.NODE_ENV === 'development' ? config.api_dev.common : config.api_prod.common)
|
||||||
|
|
||||||
// 文件上传接口
|
// 文件上传接口
|
||||||
export const uploadFile = commonUrl+ "/common/upload/file";
|
export const uploadFile = commonUrl+ "/common/upload/file";
|
||||||
// 验证码渲染图片接口
|
// 验证码渲染图片接口
|
||||||
|
|
Loading…
Reference in New Issue