feat: 增强注单处理逻辑并优化用户反馈体验
新增注单错误处理逻辑,支持已退款及待确认状态的异常场景处理。 更新 HallBetResultDialog:针对部分失败与已退款订单显示对应提示信息。 优化注单分组逻辑,新增订单状态处理,提升整体订单管理能力。 新增订单状态与用户通知相关多语言翻译,进一步提升用户体验。
This commit is contained in:
@@ -3,6 +3,7 @@ import type { DrawResultListItem } from "@/types/api/draw-results";
|
||||
export type TicketItemListRow = {
|
||||
ticket_no: string;
|
||||
order_no: string | null | undefined;
|
||||
order_status?: string | null;
|
||||
draw_no: string | null | undefined;
|
||||
currency_code: string | null | undefined;
|
||||
play_code: string;
|
||||
@@ -34,6 +35,7 @@ export type TicketItemCombinationRow = {
|
||||
export type TicketItemDetailPayload = {
|
||||
ticket_no: string;
|
||||
order_no: string | null | undefined;
|
||||
order_status?: string | null;
|
||||
draw_no: string | null | undefined;
|
||||
currency_code: string | null | undefined;
|
||||
play_code: string;
|
||||
@@ -46,6 +48,8 @@ export type TicketItemDetailPayload = {
|
||||
rebate_rate_snapshot: string;
|
||||
actual_deduct_amount: number;
|
||||
status: string;
|
||||
fail_reason_code?: string | null;
|
||||
fail_reason_text?: string | null;
|
||||
win_amount: number;
|
||||
jackpot_win_amount: number;
|
||||
settled_at: string | null | undefined;
|
||||
|
||||
@@ -73,9 +73,11 @@ export type TicketPlaceItem = {
|
||||
|
||||
export type TicketPlaceData = {
|
||||
order_no: string;
|
||||
draw: { draw_id: string; status: string };
|
||||
draw: { draw_id: string; status: string; db_status?: string };
|
||||
summary: TicketPreviewData["summary"] & {
|
||||
order_status?: string;
|
||||
success_count?: number;
|
||||
pending_confirm_count?: number;
|
||||
failure_count?: number;
|
||||
};
|
||||
balance_after: number;
|
||||
|
||||
@@ -49,4 +49,6 @@ export type GetWalletLogsParams = {
|
||||
size?: number;
|
||||
/** 逗号分隔:transfer_in,transfer_out,bet,prize,refund,reversal */
|
||||
type?: string;
|
||||
/** 按钱包币种筛选 */
|
||||
currency?: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user