111 lines
2.7 KiB
JSON
111 lines
2.7 KiB
JSON
{
|
||
"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": "Data Source=.;Initial Catalog=8357wms;User=sa;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://10.18.97.205:1111/api/WcsWebApi/"
|
||
}
|
||
},
|
||
"AppSettings": {
|
||
"Key1": "abc",
|
||
"Key2": "123"
|
||
}
|
||
}
|