mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
23 lines
367 B
TypeScript
23 lines
367 B
TypeScript
/** 请求环境配置 */
|
|
type ServiceEnv = Record<
|
|
Service.HttpEnv,
|
|
{
|
|
/** 请求环境 */
|
|
env: Service.HttpEnv;
|
|
/** 请求地址 */
|
|
url: string;
|
|
}
|
|
>;
|
|
|
|
/** 请求的环境 */
|
|
export const serviceEnv: ServiceEnv = {
|
|
test: {
|
|
env: 'test',
|
|
url: 'http://www.baidu.com'
|
|
},
|
|
prod: {
|
|
env: 'prod',
|
|
url: 'http://www.baidu.com'
|
|
}
|
|
};
|