Commit Graph

32 Commits

Author SHA1 Message Date
a550c418e5 refactor(layout, i18n, admin): 优化布局结构与多语言支持
调整 AdminShell 组件的子组件顺序,提升代码可读性。更新 admin-breadcrumb 组件,简化导航标签翻译逻辑,确保多语言支持的一致性。重构 admin-language-switcher 组件,优化语言切换的用户体验,增强界面交互性。更新多语言配置,新增登录界面的副标题,提升用户体验。
2026-05-30 17:46:27 +08:00
36117144dc refactor(env, api, i18n): 更新环境配置与API代理逻辑
修改 .env.example,优化API配置说明并明确线上环境要求。更新多语言错误提示,确保用户在未启用API代理时获得清晰反馈。重构API代理逻辑,移除开发代理文件,简化代码结构,提升可维护性。
2026-05-29 15:55:18 +08:00
671c737781 refactor(env, i18n, http): 更新环境配置与错误提示信息
修改 .env.example,简化 API 配置说明并明确生产环境要求。更新多语言错误提示,确保用户在未启用 API 代理时获得清晰反馈。重构 admin-http.ts,优化 API 基础 URL 的解析逻辑,提升代码可维护性。
2026-05-29 11:48:13 +08:00
d90ca3c66b refactor(api): 简化 API 路径定义,移除 API_V1_PREFIX
更新多个 API 文件,将 API_V1_PREFIX 替换为直接使用 /admin 路径。
简化 API 路径定义逻辑,提升代码可读性与维护性。
统一后台管理接口的路由配置,确保各管理端 API 端点保持一致性。
2026-05-29 10:29:11 +08:00
27727f6371 feat(env, config, i18n): 增强环境配置与多语言支持
更新 .env.example,提供更清晰的 API 配置说明与本地开发环境配置指引。
修改 next.config.ts:支持动态解析允许的开发环境来源(origins),提升配置灵活性。
重构 admin-language-switcher:优化语言切换同步机制,确保语言变更能够及时生效。
优化英文、尼泊尔语与中文语言包中的错误提示文案,进一步明确 API 配置要求。
精简 admin-http.ts:将 API Base URL 校验逻辑抽离至独立模块并统一导出,提升代码可维护性。
2026-05-29 09:17:37 +08:00
0bfcf6c59c feat(i18n, config): 增强多语言支持并新增系统配置项
更新英文、尼泊尔语与中文语言包,新增默认币种、开奖间隔、投注窗口及相关设置的翻译文案,提升界面清晰度与用户体验。
在系统设置中新增开奖相关配置字段,增强彩票系统参数管理的灵活性。
优化多语言国际化支持,确保后台管理界面在不同语言环境下的信息表达一致性。
2026-05-28 14:51:07 +08:00
b76ade9608 feat(config): 更新环境配置与 API 处理逻辑
修改 .env.example,补充环境切换说明并新增生产环境 API 地址配置。
更新 next.config.ts:使用 API_BASE_URL 进行 API 重写配置,确保 API 路由一致性。
重构 login-form.tsx:移除 API 配置检查逻辑,简化登录流程。
调整 admin-http.ts:通过 Next.js 代理转发 API 请求,提升后端通信稳定性。
2026-05-28 10:12:05 +08:00
788c7998eb feat(integration): 为集成站点与开奖管理新增 AdminPermissionGate 权限控制
使用 AdminPermissionGate 包裹集成站点与开奖相关组件,根据权限进行访问控制。
新增集成管理与开奖管理相关权限常量。
更新相关 UI 组件以适配权限校验逻辑,提升系统安全性与用户体验。
增强国际化支持,在英文、尼泊尔语与中文语言包中新增集成相关文案。
2026-05-27 16:51:48 +08:00
5eabbcf0ee feat(integration): 新增 site_code 支持并增强玩家与注单管理界面
在后台玩家与注单相关 API 中新增 site_code 参数,支持按站点筛选数据。
更新 PlayersConsole 与 PlayerTicketsConsole UI 组件,新增站点选择筛选功能。
增强国际化支持,在英文与中文语言包中新增站点相关文案。
优化配置中心页面,新增跳转至集成站点管理的入口,提升后台导航体验。
2026-05-27 13:36:44 +08:00
a76b681828 feat(api, i18n): add admin report job functionalities and enhance locale support
- Introduced new API functions for managing admin report jobs, including download and post operations.
- Updated English, Nepali, and Chinese locale files to include new messages related to report job actions and rollback confirmations.
- Enhanced user experience by providing clearer instructions and feedback in the admin interface.
- Refactored related components to integrate new functionalities and improve overall usability.
2026-05-26 11:48:51 +08:00
7fb5ec6dff feat(i18n): add saveFailed message and dimensionRatesMixedHint to locale files
- Updated English, Nepali, and Chinese locale files to include a new message for "Failed to save configuration".
- Added a hint for mixed rebate rates within the same dimension to enhance user understanding.
- Improved internationalization support across multiple locales for better user experience in the admin interface.
2026-05-26 11:23:36 +08:00
05fa0cbeec feat(i18n): add batch group switch text to English, Nepali, and Chinese locales
- Updated the English, Nepali, and Chinese locale files to include a new translation for "Toggle batch switch for {{group}}".
- Enhanced internationalization support for the admin interface by adding relevant strings for improved user experience.
2026-05-26 10:33:03 +08:00
f080e6ba8e feat(admin): add draw management features including create, update, delete, and batch delete functionalities
- Implemented API functions for creating, updating, and deleting draws.
- Enhanced the admin draws console with UI components for managing draws.
- Added internationalization support for new draw management actions and messages.
2026-05-25 18:00:43 +08:00
84bf924378 feat(i18n): 增强管理端多语言支持,优化语言初始化与恢复逻辑 2026-05-25 14:53:15 +08:00
ddedef824e refactor: 合并多语言支持的显示名称字段,优化奖池手动爆发功能的返回数据结构,增强管理端权限控制 2026-05-25 14:31:24 +08:00
2d4a23968e refactor: 更新风险监控页面标题为国际化支持,优化风险池控制台的标题处理 2026-05-22 16:11:36 +08:00
b2b934e25e feat(admin): 上线报表中心页面并接入九类报表查询导出
新增报表控制台、汇总 API 客户端与中英尼文案,九类报表均可筛选预览并导出 CSV/Excel。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-22 10:08:43 +08:00
e8a5507411 refactor: 更新管理端页面元数据,统一国际化支持,移除冗余代码 2026-05-21 17:27:52 +08:00
26feed3c4f refactor: 重构奖池配置页面,移除冗余组件,优化加载体验与国际化支持 2026-05-21 16:46:48 +08:00
055c613a6d feat: 添加货币管理功能,更新国际化支持,移除报表相关代码 2026-05-21 16:24:56 +08:00
6ecbaf5fb4 refactor: 优化管理端配置页紧凑布局与时间展示 2026-05-20 16:57:47 +08:00
08a11a1589 feat: 统一管理端多语言、配置与票据/结算页面重构 2026-05-20 16:27:06 +08:00
d625c59393 feat: 统一管理端导航为后端下发菜单,移除本地权限过滤 2026-05-19 09:34:52 +08:00
afffa4e508 refactor: 优化管理端配置页加载与导航,更新本地端口说明 2026-05-18 11:28:19 +08:00
76e318be8f refactor: 移除冗余注释和描述,优化管理员模块的代码结构 2026-05-11 17:21:12 +08:00
b539bf0660 feat: 添加财务摘要接口,更新管理员抽奖模块和导航,优化权限管理逻辑 2026-05-11 16:21:22 +08:00
0103d25426 将 AdminRiskPage 改名为 AdminRiskIndexPage,并接入 RiskIndexConsole 组件。 2026-05-11 11:52:53 +08:00
f19cdb48ad refactor: 使用管理员日期时间格式化器更新请求和完成时间的显示 2026-05-09 15:32:04 +08:00
38d40f3a8b feat: 增加多语言 2026-05-09 13:54:41 +08:00
9805f56d3a refactor: 替换管理员登录组件并更新会话管理 2026-05-09 13:48:11 +08:00
cda7824eb2 feat:添加管理员登录 2026-05-09 11:16:00 +08:00
56951c0383 feat:初始化业务目录 2026-05-09 10:36:20 +08:00