WMS/HHWMS.Web/appsettings.json
zhougf 4f2ba2a3ee 日志分表 任务日志 操作日志 接口日志
添加对应的日志文件
修改主子表的表结构信息
删除无关字段信息
测试添加数据到历史表中
2024-03-15 18:45:10 +08:00

122 lines
3.1 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=WMS;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://10.18.97.205:1111/api/WcsWebApi/"
}
},
"AppSettings": {
"Key1": "abc",
"Key2": "123"
}
}