feat(user-secret): 代理白名单一键添加(极客/青果)并前置默认渠道
- 客户端设置面板新增「白名单」区块:自动获取出口 IP、可手改;加入前先同步未上报的代理配置,避免拿服务端旧 Key 代加
- 后端新增 POST /api/user-secrets/proxy-whitelist:先查后加;极客用套餐 ID+套餐 key,青果用已保存提取链接里的 key,重复添加不报错
- 极客套餐 key 加密存 biz_user_proxy_plan.jikip_plan_key(V181),回读只给掩码;换套餐 ID 时必须重填
- 白名单接口地址走配置(AIIMAGE_USER_SECRET_JIKIP/QINGGUO_WHITE_LIST_*),日志不落 key 与完整 URL
- 贞贞/极客等默认选项前置;catch 棘轮 7 处逐条记名并入基线(含 79b04afd 的 AdminApiGuardFilter 一枚)
This commit is contained in:
@@ -319,7 +319,8 @@ test('test_endpoints_frozen_snapshot', () => {
|
||||
"check": "/api/user-secrets/{moduleKey}/check",
|
||||
"migrate": "/api/user-secrets/migrate",
|
||||
"proxyBalance": "/api/user-secrets/proxy-balance",
|
||||
"proxyPlan": "/api/user-secrets/proxy-plan"
|
||||
"proxyPlan": "/api/user-secrets/proxy-plan",
|
||||
"proxyWhitelist": "/api/user-secrets/proxy-whitelist"
|
||||
},
|
||||
"costGuard": {
|
||||
"status": "/api/user/cost-guard/status",
|
||||
|
||||
Reference in New Issue
Block a user