WMS/HHWMS.Web/appsettings.json
2026-03-07 17:01:46 +08:00

133 lines
3.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"Logging": {
"Console": {
"IncludeScopes": true,
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"Debug": {
"IncludeScopes": true,
"LogLevel": {
"Default": "Information"
}
},
"WTM": {
"LogLevel": {
"Default": "Debug"
}
}
},
"Connections": [
{
"Key": "default",
"Value": "Server=127.0.0.1;Port=3306;Database=wms3;Uid=root;Password=abc123*;Character Set=utf8mb4;",
"DBType": "mysql"
},
//{
// "Key": "default",
// "Value": "Data Source=.;Initial Catalog=WMS;User=sa;Password=abc123*;Persist Security Info=True",
// "DbContext": "DataContext",
// "DBType": "sqlserver" //DataBase, you can choose mysql,sqlserver,pgsql,sqlite,oracle
//}
//{
// "Key": "default",
// "Value": "Data Source=10.18.106.4;Initial Catalog=8357wms;User=wms;Password=abc123*;Persist Security Info=True",
// "DbContext": "DataContext",
// "DBType": "sqlserver" //DataBase, you can choose mysql,sqlserver,pgsql,sqlite,oracle
//}
],
"CookiePre": "HHWMS", //cookie前缀
"IsQuickDebug": true, //是否启用debug模式
"EnableTenant": false, //是否启动多租户
"SyncDb": true, //是否自动同步数据库
"EncryptKey": "", //加密密钥
"PageMode": "Tab", //页面显示模式,Single或者Tab
"TabMode": "Simple", //Tab页显示方式,Default或者Simple
"IsFilePublic": true,
"ErrorHandler": "/_Framework/Error",
"Languages": "zh,en",
"CorsOptions": {
"EnableAll": true, //所有方法是否默认跨域
"Policy": [
{
"Name": "Default",
"Domain": "http://localhost, https://localhost"
}
]
},
"UIOptions": {
"DataTable": {
"RPP": 30, //默认列表每页行数
"ShowPrint": true,
"ShowFilter": true
},
"ComboBox": {
"DefaultEnableSearch": true //默认允许ComboBox搜索
},
"DateTime": {
"DefaultReadonly": false //默认开启DateTime只读
},
"SearchPanel": {
"DefaultExpand": false //默认展开SearchPanel内容
}
},
"FileUploadOptions": {
"UploadLimit": 2097152000,
"SaveFileMode": "local", //上传文件的保存方式,可选Database,local,dfs
"Settings": {
"local": [
{
"GroupName": "default",
"GroupLocation": "./wwwroot/upload"
}
]
}
},
"JwtOptions": {
"Issuer": "http://localhost",
"Audience": "http://localhost",
"Expires": 604800,
"SecurityKey": "super",
"LoginPath": "/_Framework/Redirect401"
},
"CookieOptions": {
"Issuer": "http://localhost",
"Audience": "http://localhost",
"Domain": "",
"Expires": 3600,
"SlidingExpiration": true,
"SecurityKey": "superSecretKey@345",
"LoginPath": "/Login/Login"
},
"Domains": {
"github": {
"Address": "https://api.github.com"
},
"github2": {
"Address": "https://api.github.com"
},
"WCS": {
"Address": "http://192.168.30.200:65533/api/WCS/"
},
"ACS": {
"Address": "http://192.168.30.136:10002/"
}
},
"AppSettings": {
"Key1": "abc",
"Key2": "123",
"Out": "123",
"In": "123",
"Charge": "123",
"OutIn": "123",
},
"Mqtt": {
"Server": "127.0.0.1",
"Port": 1883,
"Username": "",
"Password": ""
}
}