Files
bj_power/bj_power_wms/etc/bj_power_wms-api.yaml
T
2026-08-28 15:06:01 +08:00

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