feat: 装配线看板修正、统一密钥Hardman_2026、操作日志追溯、日志按天存储

Dashboard 移除 CNC/清洗机等不存在设备,改为纯装配线看板(扫码枪+拧紧枪+人工);JWT/内部token统一为 Hardman_2026 写入各 etc/*.yaml,MES 建表 DSN 改读 yaml;event_log 增加 workOrderNo/operator,BOM/备料/PLC下发/拧紧/扫码报工/半成品/AGV 全链路埋点,日志页支持工单号/操作人筛选;MES/WMS 日志按天存储(dailyWriter),WMS SetWriter 用 logx.NewWriter 适配
This commit is contained in:
SunYF
2026-08-28 09:22:19 +08:00
parent a2afd2f6dc
commit 450a094f0e
39 changed files with 516 additions and 2111 deletions
+10 -2
View File
@@ -20,10 +20,18 @@ Logger:
AddSource: true # 是否添加调用源信息
Auth:
AccessSecret: hardman_2024
AccessExpire: 72000
AccessSecret: Hardman_2026
AccessExpire: 86400
RefreshExpire: 144000
# 项目间内部 API 写死 token
Internal:
Token: Hardman_2026
# WMS 内部 API token
Wms:
Token: Hardman_2026
Database:
Host: 127.0.0.1
Port: 5432