chore: 构建重命名

This commit is contained in:
陈淳
2023-12-14 10:05:32 +08:00
parent 99b1deea3c
commit d4c3756f75
90 changed files with 13475 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
const config = {
/**
* api请求基础路径
*/
base_url: {
// 开发环境接口前缀
dev: import.meta.env.VITE_APP_BASEAPI,
// 打包生产环境接口前缀
pro: window.location.protocol + "//" + window.location.hostname + ":19001",
},
/**
* 接口请求前缀
*/
pre_interface: import.meta.env.VITE_APP_BASEAPI,
/**
* 接口成功返回状态码
*/
result_code: "0000",
/**
* 接口请求超时时间
*/
request_timeout: 60000,
/**
* 默认接口请求类型
* 可选值application/x-www-form-urlencoded multipart/form-data
*/
default_headers: "application/json",
};
export { config };