|
1
2
3
4
5
6
7
8
9
10
11
|
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
|
赖素文
authored
|
12
|
//本地服务器测试环境 (配置文件key 不能写中文,程序会出现异常)
|
|
13
14
15
16
|
//"BaseDBContext": "Data Source = .;Initial Catalog=BaseMES;User=sa;Password=6EjfZkO8o92OjsH7rK+kVg==;Persist Security Info=True",
//"InterfaceDBContext": "Data Source = .;Initial Catalog=BaseMES;User=sa;Password=6EjfZkO8o92OjsH7rK+kVg==;Persist Security Info=True",
//"RedisIp": "127.0.0.1:6379,defaultDatabase=10,password=qaz123456",
|
赖素文
authored
|
17
18
19
|
//公司服务器测试环境 RedisDb:sany 使用 1,中海油使用 10,最大值是16
"BaseDBContext": "Data Source=172.16.29.88;Initial Catalog=BaseMes3.0;User=LegLine;Password=6EjfZkO8o92OjsH7rK+kVg==;Persist Security Info=True",
"InterfaceDBContext": "Data Source=172.16.29.88;Initial Catalog=BaseMes3.0;User=LegLine;Password=6EjfZkO8o92OjsH7rK+kVg==;Persist Security Info=True",
|
|
20
21
|
"RedisIp": "172.16.29.88:6379,defaultDatabase=10,password=qaz123456",
|
赖素文
authored
|
22
|
"HttpPort": "10008",
|
|
23
24
|
"HttpsPort": "0",
|
赖素文
authored
|
25
|
//登入验证忽略路径
|
赖素文
authored
|
26
|
"AopAllowed": "Login,BulletinBoard,OtherLogin,Upstream,AppCheckVerByAppNameAndVer",
|
|
27
|
|
赖素文
authored
|
28
|
//扩展字段
|
HuXiYu
authored
|
29
|
"Extend1": "26", //默认存部门deptId
|
|
30
31
32
33
34
35
36
37
38
|
"Extend2": "",
"Extend3": "",
"Extend4": "",
"Extend5": "",
"Extend6": "",
"Extend7": "",
"Extend8": ""
},
|
赖素文
authored
|
39
|
//自定义配置写这里
|
|
40
|
"AppCustomSettings": {
|
赖素文
authored
|
41
|
"copyright": "长沙华恒机器人系统有限公司",
|
|
42
43
44
|
"AppKey": "hhweb",
"AppSecret": "hhweb2.0",
|
赖素文
authored
|
45
|
//扩展字段
|
赖素文
authored
|
46
|
"AppCustomExtend1": "_off", //接口线上环境:_onLine 接口线下环境 _off
|
|
47
48
|
"AppCustomExtend2": "",
"AppCustomExtend3": "",
|
赖素文
authored
|
49
|
"AppCustomExtend4": "",
|
|
50
51
52
53
54
55
56
|
"AppCustomExtend5": "",
"AppCustomExtend6": "",
"AppCustomExtend7": "",
"AppCustomExtend8": ""
}
}
|