小海
|
53e730f8d5
|
fix: 修复扣款时浮点数精度导致的余额不足误判和 -0.00 显示问题
|
2026-01-12 14:06:30 +08:00 |
|
 Xu KangandGitHub
|
5d1badfe67
|
fix: add missing i18n key admin.accounts.outputCopied (#218)
|
2026-01-09 15:28:55 +08:00 |
|
 Xu KangandGitHub
|
f6dd4752e7
|
fix: 修复 Go 版本、包管理器和技术栈文档 (#195)
- backend/Dockerfile: Go 版本从 1.21 更新到 1.25.5(与 go.mod 一致)
- Makefile: 使用 pnpm 替代 npm(与 pnpm-lock.yaml 和 CI 一致)
- README.md/README_CN.md: 技术栈从 GORM 修正为 Ent
|
2026-01-07 16:35:51 +08:00 |
|
 Xu KangandGitHub
|
b19c7875a4
|
fix(i18n): use correct translation key for dashboard redeem code description (#194)
Changed dashboard.addBalance to dashboard.addBalanceWithCode to match the existing translation key in locale files.
|
2026-01-07 15:01:07 +08:00 |
|
江西小徐
|
2392e7cf99
|
fix: 修复并发请求时共享httpClient.Transport导致的竞态条件
问题描述:
当多个请求并发执行且使用不同代理配置时,它们会同时修改共享的
s.httpClient.Transport,导致请求可能使用错误的代理(数据泄露风险)
或意外失败。
修复方案:
为需要代理的请求创建独立的http.Client,而不是修改共享的httpClient.Transport。
改动内容:
- 新增 buildUpstreamRequestResult 结构体,返回请求和可选的独立client
- 修改 buildUpstreamRequest 方法,配置代理时创建独立client
- 更新 Forward 方法,根据是否有代理选择合适的client
|
2025-12-18 18:14:48 +08:00 |
|