appsettings.json
2.47 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
56
57
58
59
{
"Logging": {
"Default": "Error", // 只记录错误
"Microsoft": "Error" // 记录 Microsoft 相关的警告
},
"AllowedHosts": "*",
"ConnectionStrings": {
//公司服务器正式环境 RedisDb:sany使用 1,中海油使用 10,最大值是16
"BaseDBContext": "Data Source=172.16.29.70;Initial Catalog=IoT;User=sa;Password=oQT5puQ8c3qkrh0qkADr5w==;Persist Security Info=True;Encrypt=True;TrustServerCertificate=True;",
"InterfaceDBContext": "Data Source=172.16.29.70;Initial Catalog=IoT;User=sa;Password=oQT5puQ8c3qkrh0qkADr5w==;Persist Security Info=True;Encrypt=True;TrustServerCertificate=True;",
//公司服务器测试环境 RedisDb:sany使用 1,中海油使用 10,最大值是16 IoTUAT
//"BaseDBContext": "Data Source=172.16.29.70;Initial Catalog=IoTUAT;User=sa;Password=oQT5puQ8c3qkrh0qkADr5w==;Persist Security Info=True;Encrypt=True;TrustServerCertificate=True;",
//"InterfaceDBContext": "Data Source=172.16.29.70;Initial Catalog=IoTUAT;User=sa;Password=oQT5puQ8c3qkrh0qkADr5w==;Persist Security Info=True;Encrypt=True;TrustServerCertificate=True;",
//WMS数据库 mysql
"BaseWMSContext": "Server=172.16.2.8;Database=hhwms;Uid=softhuaheng;Pwd=HHrobot123.;",
"HttpPort": "9801",
"HttpsPort": "9802",
"ReportPort": "10099",
"LoginTitle": "华恒设备云IOT管理平台",
"FaceBaseUrl": "http://172.16.29.88:9065//",
"AopAllowed": "/api/CNOOC/Mes/V1/Login/Logout,BusEquipmentData,Dashboard,GetBaseInfoByKey", //忽略登入验证
"ResetPwd": "6EjfZkO8o92OjsH7rK+kVg==", //用户重置密码
//服务器IP,防止CQRS漏洞
"ServerIPList": "localhost,172.16.29.70,172.16.29.87,127.0.0.1,172.16.29.184",
"Extend1": "",
"Extend2": "",
"Extend3": "",
"Extend4": "",
"Extend5": "",
"Extend6": "",
"Extend7": "",
"Extend8": ""
},
//自定义配置写这里
"AppCustomSettings": {
"copyright": "长沙华恒机器人系统有限公司 v3.2",
//扩展字段
"AppCustomExtend1": "_onLine", //接口线上环境:_onLine 接口线下环境 _off
"AppCustomExtend2": "79", //定时同步OA用户信息,同步用户部门关系时,默认存的部门ID
"AppCustomExtend3": "44", //定时同步OA用户信息,同步用户角色关系时,默认存的角色ID
"AppCustomExtend4": "30", //数据库备份文件保留天数
//默认角色Id
"AppCustomExtend5": 43,
"AppCustomExtend6": "",
"AppCustomExtend7": "",
"AppCustomExtend8": ""
}
}