修改管理端上传地址错误

master
lemon橪 2021-05-17 18:18:24 +08:00
parent c457f6abc9
commit 9a7422b107
1 changed files with 3 additions and 2 deletions

View File

@ -8,11 +8,12 @@ import {
getRequestWithNoToken,
putRequestWithNoForm,
postRequestWithNoForm,
commonUrl,
managerUrl
} from "@/libs/axios";
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";
// 验证码渲染图片接口