appsettings.json
1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
//本地环境 (配置文件key 不能写中文,程序会出现异常)
//"BaseDBContext": "Data Source=.;Initial Catalog=BaseMes_KS;User=sa;Password=cIF2UUqDQWorEn199gNn9Q==;Persist Security Info=True",
//"RedisIp": "127.0.0.1:6379,defaultDatabase=10,password=Aa123456",
//公司服务器测试环境 (配置文件key 不能写中文,程序会出现异常)
"BaseDBContext": "Data Source=172.16.29.88;Initial Catalog=KS_Mes;User=LegLine;Password=6EjfZkO8o92OjsH7rK+kVg==;Persist Security Info=True",
"RedisIp": "172.16.29.88:6379,defaultDatabase=10,password=qaz123456",
"HttpPort": "3001",
"HttpsPort": "3002",
"ReportPort": "1099",
"LoginTitle": "LMES",
"FaceBaseUrl": "http://172.16.29.88:9065//",
"AopAllowed": "/api/CNOOC/Mes/V1/Login/Logout,",
"ResetPwd": "ljuKtWtIrT5vyFNEEbe5QQ==", //用户重置密码123456--
//服务器IP,防止CQRS漏洞
"ServerIPList": "localhost,10.193.244.157,10.193.244.156,127.0.0.1",
"Extend1": "",
"Extend2": "",
"Extend3": "",
"Extend4": "",
"Extend5": "",
"Extend6": "",
"Extend7": "",
"Extend8": ""
},
//自定义配置写这里
"AppCustomSettings": {
"copyright": "LMES",
//扩展字段
"AppCustomExtend1": "_onLine", //接口线上环境:_onLine 接口线下环境 _off
"AppCustomExtend2": "esb@P_SYS_COMPANY_393bb2f058ac4a8ba59510a1a228d383",
"AppCustomExtend3": "efb03b68f7a0c2a331fc61a491c4b2d7",
"AppCustomExtend4": "30", //数据库备份文件保留天数
"AppCustomExtend5": "",
"AppCustomExtend6": "",
"AppCustomExtend7": "",
"AppCustomExtend8": ""
}
}