Files
WMS/HHWMS.Web/appsettings.json
T
sunwang c76e7bb681 fix:永丰售后修复BUG,
1,物料库存获取不到ERP:重新调整触发查询逻辑
2,工序变更导致物料无法出库:配置旧工序
3,测试出库订单ERP推送,任务下发
2026-10-29 13:12:11 +08:00

129 lines
3.3 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": "Server=127.0.0.1;Port=3306;Database=wms_yongfeng_cp;Uid=root;Password=123456;Character Set=utf8mb4;",
"DBType": "mysql"
},
{
"Key": "cp",
"Value": "Server=127.0.0.1;Port=3306;Database=wms_yongfeng_cp;Uid=root;Password=123456;Character Set=utf8mb4;",
"DBType": "mysql"
}
],
"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": {
"WCS": {
"Address": "http://192.168.30.220:65533/api/WCS/"
},
"WCSCP": {
"Address": "http://127.0.0.1:65534/api/WCS/"
},
"ERP": {
"Address": "http://192.168.16.4:8081/Api/"
},
"AGV": {
"Address": ""
}
},
"AgvOption": {
"Enabled": true, //模块总开关
"MockEnabled": true, //Mock模式:不实际调用AGV,直接返回成功
"CallTimeoutSeconds": 15, //对外调用超时(秒)
"LockTimeoutMinutes": 60, //锁持有告警阈值(分钟)
"TimeoutMonitorMinutes": 30, //超时监控阈值(分钟)
"ReconcileEnabled": false, //对账Job开关
"ReconcileMinutes": 10,
"SysUser": "system" //联动写库存系统账号
},
"AppSettings": {
"Key1": "abc",
"Key2": "123"
}
}