项目初始化
This commit is contained in:
48
src/conf/environment.conf.ts
Normal file
48
src/conf/environment.conf.ts
Normal file
@ -0,0 +1,48 @@
|
||||
/*
|
||||
* @Author: Maple
|
||||
* @Date: 2021-03-22 09:57:14
|
||||
* @LastEditors: Do not edit
|
||||
* @LastEditTime: 2021-03-30 17:29:50
|
||||
* @Description: 全局环境配置信息
|
||||
*/
|
||||
|
||||
/**
|
||||
* 环境配置信息
|
||||
*/
|
||||
export const environmentConf = {
|
||||
// 网易盾ID
|
||||
captchaId: '73aa170bb84a42feb63ec5fe01795d36',
|
||||
// 是否允许不关联企业的时候能否登录
|
||||
allowNoEnterprise: true,
|
||||
/**
|
||||
* 缓存键名配置
|
||||
*/
|
||||
cacheKey: {
|
||||
/**
|
||||
* 环境配置
|
||||
*/
|
||||
environment: '_env',
|
||||
/**
|
||||
* 企业信息
|
||||
*/
|
||||
enterprise: '_enterprise',
|
||||
/**
|
||||
* 地区信息
|
||||
*/
|
||||
region: '_region',
|
||||
/**
|
||||
* 角色信息
|
||||
*/
|
||||
role: '_role',
|
||||
},
|
||||
// 全局通用API配置
|
||||
apiPath: {
|
||||
// 文件上传路径
|
||||
fileUploadUrl: `/scce/pbc/pbc/upload/multipartFile/fileModel`,
|
||||
},
|
||||
pdf: {
|
||||
sourceServer: 'https://scce-cos-obs.obs.cn-south-1.myhuaweicloud.com:443',
|
||||
targetServer: 'https://sce-cos-api-test.380star.com:443',
|
||||
prefix: '/huawei/obs',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user