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 适配
32 lines
448 B
YAML
32 lines
448 B
YAML
Name: bj_power_wms
|
|
Host: 0.0.0.0
|
|
Port: 8890
|
|
Timeout: 10000
|
|
|
|
# PostgreSQL
|
|
Postgres:
|
|
Host: 127.0.0.1
|
|
Port: 5432
|
|
User: postgres
|
|
Password: postgres
|
|
DBName: bj_power_wms
|
|
SSLMode: disable
|
|
|
|
# JWT(短有效期 + 滑动续签)
|
|
Auth:
|
|
AccessSecret: Hardman_2026
|
|
AccessExpire: 1800
|
|
|
|
# 项目间内部 API 写死 token
|
|
Internal:
|
|
Token: Hardman_2026
|
|
|
|
Log:
|
|
Mode: file
|
|
Path: logs
|
|
Level: info
|
|
|
|
Redis:
|
|
Host: 127.0.0.1:6379
|
|
Type: node
|