mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 精简版+动态路由权限初步
This commit is contained in:
21
.env-config.ts
Normal file
21
.env-config.ts
Normal file
@ -0,0 +1,21 @@
|
||||
/** 请求环境配置 */
|
||||
type ServiceEnv = {
|
||||
[key in Service.HttpEnv]: {
|
||||
/** 请求环境 */
|
||||
env: Service.HttpEnv;
|
||||
/** 请求地址 */
|
||||
url: string;
|
||||
};
|
||||
};
|
||||
|
||||
/** 请求的环境 */
|
||||
export const serviceEnv: ServiceEnv = {
|
||||
test: {
|
||||
env: 'test',
|
||||
url: 'http://120.76.42.91:18888'
|
||||
},
|
||||
prod: {
|
||||
env: 'prod',
|
||||
url: 'http://120.76.42.91:18888'
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user