wchino
7b33d9f9fa
重构
2026-06-13 17:38:25 +08:00
cb9a1e8708
feat: 短信调试日志、Tawk 客服、手机号校验放宽与 Docker 文档
...
API
- 短信发码/验码/创蓝全链路结构化日志(手机号脱敏)
- 新增 SMS_DEBUG_LOG_CODE,联调时可输出验证码与 sessionId(对应创蓝批次号)
- 注册成功、短信找回密码成功写入审计相关日志
- 放宽手机号归一化:移除区号白名单与 10~15 位长度限制
Player
- 公告走马灯滚动周期调整为 35 秒
- 在线客服接入 Tawk.to(tawk.html),登录用户透传昵称/头像/ID
- 三语补充 support.connecting 文案
部署与文档
- docker-compose 与 .env.docker.example 增加 SMS_DEBUG_LOG_CODE
- 新增 docs/短信调试与日志说明.md、docs/docker 镜像构建导出脚本与说明
- Docker 部署指南补充镜像构建文档链接
- .gitignore 忽略 thebet365-images.tar 与 docker-build.log
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 14:08:00 +08:00
83f0f380c5
chore: 将本地密钥 env 文件加入 gitignore
...
忽略 apps/api/.env 与 .env.docker,并从仓库移除已跟踪的 API 本地配置。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 10:30:11 +08:00
ef6b15f119
feat: multi-tier agent hierarchy, wallet ledger, and player UX polish
...
Add configurable agent max level and default sub-agent credit ratio, per-agent block direct player login on suspend, admin/agent wallet transaction views, and match detail my-bets section with refreshed player card styling.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 16:15:34 +08:00
6124313369
feat: add finance logs page, banner upload, and admin withdraw fix
...
## 财务流水
- 新增 FinanceLogs.vue(/finance-logs):额度流水 + 上下分流水双 Tab,支持时间/代理/玩家/操作人筛选与分页
- 管理员与代理共用页面,API 按角色自动切换(/admin/* 或 /agent/*)
- 侧栏「财务流水」替代原「额度流水」;代理侧栏同步新增入口
- /agent-credit-transactions 重定向至 /finance-logs?tab=credit,旧链接仍可用
- 后端:新增 GET /admin/wallet/transfer-transactions;增强额度/上下分列表筛选
- 代理端:新增 GET /agent/credit-transactions;GET /agent/wallet-transactions 支持分页与筛选
- 修复:管理员下分改为 adminWithdrawFromPlayer(),下分后重算上级代理 usedCredit
## 内容管理 Banner
- Contents.vue:各语言 Banner 支持本地上传、媒体库选择、手动填 URL(≤5MB)
- vite 开发代理 /uploads;生产 nginx 反代 /uploads/ 至 API
## 玩家端 Banner
- BannerCarousel:外链无协议时自动补 https://
- defaultBanner:API 加载中不闪默认图,仅空列表时展示默认 Banner
## 其他
- AgentManager:查看额度流水链接改为 /finance-logs
- i18n:finance.*、nav.finance_logs、content.upload.*(中/英/马来)
未纳入本次提交:.pnpm-store/、release/ 部署包、uploads/banners/ 下测试上传图片
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 10:10:11 +08:00
490118f3b5
fix: approve pnpm 11 build scripts and untrack .env files
...
Add pnpm.onlyBuiltDependencies to allow Prisma, esbuild, NestJS etc.
to run postinstall scripts. Remove .env and .env.local from .gitignore.
🤖 Generated with [Qoder][https://qoder.com ]
2026-06-08 17:01:57 +08:00
bbede5d164
fix(docker): upgrade Node.js to v22 and pnpm to v11 to resolve build failure
...
pnpm 11.5.2 requires Node.js v22.13+ and uses node:sqlite module unavailable in Node.js v20.
Also switch to --no-frozen-lockfile temporarily for lockfile format migration compatibility.
🤖 Generated with [Qoder][https://qoder.com ]
2026-06-08 16:50:51 +08:00
3b739982a1
feat(admin): 从已有玩家升级代理、修复 i18n 与过期 .js 冲突
...
- 新建一级代理改为选择已有玩家;新建用户可选一级代理
- 操作日志/注单等扁平 key 翻译;清理 src 内误生成 .js,Vite 优先解析 .ts
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 15:42:15 +08:00
b5dca1bfb1
feat(player): 完善 H5 投注端与 API 演示数据
...
- 球赛/串关/优胜冠军、赛事详情、历史投注与个人资料编辑
- 固定顶栏、公告与底栏,仅内容区滚动
- 底部导航与站点 favicon 使用 logo,登录页精简
- API 种子、冠军盘与历史注单增强
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-02 17:18:11 +08:00
14e49374ac
初始化足球投注平台 MVP Monorepo
...
包含 NestJS 后端、三端前端、Prisma 数据模型、结算引擎测试与 PRD 文档。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-02 14:35:48 +08:00