feat(api): USER_SYNC_SOURCE switch wires mock/http user source (G4)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-22 16:28:55 +08:00
parent d732caa739
commit 8c255eb747
3 changed files with 24 additions and 8 deletions
+6
View File
@@ -69,3 +69,9 @@ ADMIN_PASSWORD=CHANGE_ME_强密码
# ── 日志 ──
# pino 级别(logger-options/worker/sync;生产建议 info,排障临时 debug)。
LOG_LEVEL=info
# ── 用户信息开放接口(uniservice)──
OPEN_API_USERS_URL=https://uniservice.server.hnxinyouhe.com/open/v1/users
OPEN_API_USERS_KEY=CHANGE_ME
# 用户同步源:mock(默认)/ http(uniservice 真实接口——生产开)
USER_SYNC_SOURCE=http