feat(代理): 代理配置按登录用户隔离——桌面端 current_uid 登录同步 + brand 页 proxy_users[uid] 读写,各用户各自代理池各自计费复用(未登录回退全局 proxy_url 兼容旧配置)

This commit is contained in:
2026-09-11 16:09:56 +08:00
parent bb52574767
commit 30d31fb318
3 changed files with 61 additions and 9 deletions
@@ -56,6 +56,8 @@ export interface DesktopConfig {
export interface DesktopConfigUpdate {
proxy_url?: string;
proxy_mode?: ProxyMode;
current_uid?: string;
proxy_users?: Record<string, { proxy_url?: string; proxy_mode?: number }>;
aliprice_usename?: string;
aliprice_pwd?: string;
}