mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-21 00:47:27 +08:00
chore: 构建目录
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user