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
@@ -74,3 +74,9 @@ EMBED_POLL_BACKOFF_MULTIPLIER=5
# 含 304 命中——轮询本身 30s/次,余量给页面重载突发,P5 速率层接真实防护)。
EMBED_WINDOW_REQUESTS=120
EMBED_WINDOW_SECONDS=60
# ── 用户信息开放接口(uniservice)──
OPEN_API_USERS_URL=https://uniservice.server.hnxinyouhe.com/open/v1/users
OPEN_API_USERS_KEY=CHANGE_ME
# 用户同步源:mock(默认,e2e/本地)/ http(uniservice 真实接口)
USER_SYNC_SOURCE=mock