feat: SOCKS5代理支持、落地IP国家查询、设置页优化

- 代理支持SOCKS5和HTTP两种类型切换
- 落地IP查询显示国家、城市、ISP信息
- 设置页面不再隐藏已配置的值
- Airwallex API异常统一返回400+详细错误信息
This commit is contained in:
zqq61
2026-03-16 00:02:59 +08:00
parent c28090e75d
commit 01773500af
5 changed files with 107 additions and 45 deletions

View File

@@ -25,10 +25,9 @@ def get_settings(
settings = db.query(SystemSetting).all()
result = []
for s in settings:
value = "********" if s.key in SENSITIVE_KEYS and s.value else s.value
result.append({
"key": s.key,
"value": value,
"value": s.value,
"encrypted": s.encrypted,
"updated_at": s.updated_at.isoformat() if s.updated_at else None,
})