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.
This commit is contained in:
2026-05-25 18:00:43 +08:00
parent eb02252431
commit f080e6ba8e
15 changed files with 948 additions and 24 deletions

View File

@@ -54,6 +54,7 @@ export function formatAdminCalendarToday(locale: AdminApiLocale, weekdayLabel: s
/**
* 将接口返回的 ISO 时间串格式化为浏览器本地时区下的 `YYYY-MM-DD HH:mm:ss`。
* 期号相关列表请使用 {@link formatAdminInstantInTimeZone} 并传入 UTC。
*/
export function formatAdminInstant(
iso: string | null | undefined,

View File

@@ -0,0 +1,5 @@
/**
* PRD / 界面文档:服务器时区 GMT与 UTC 等效。
* @see docs/01-界面文档.md §1.4
*/
export const LOTTERY_SCHEDULE_TIMEZONE = "UTC";