feat: v3.4.12 ticket iteration

Refund rollback, winery T+3, multi withdraw, mini-user store detail, dev plan batch edit and WeCom dispatch, support ticket edit/attachments/batch status, package imageUrl.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-04 23:53:31 +08:00
parent 71f508e02b
commit 4372018c09
34 changed files with 1032 additions and 86 deletions
+12
View File
@@ -202,6 +202,18 @@ export interface DevPlanTaskDispatchInput {
export interface DevPlanTaskBatchUpdateInput {
taskIds: string[];
status?: DevPlanTaskStatusDto;
versionId?: string | null;
}
export interface DevPlanLinkedTaskSummary {
id: string;
+3 -1
View File
@@ -63,7 +63,6 @@ export interface StoreWithdrawSummaryDto {
remainingDailyLimit: number;
isPrimary: boolean;
hasBankAccount: boolean;
hasPendingRequest: boolean;
bankAccount?: StoreWithdrawBankAccountDto | null;
}
@@ -184,6 +183,9 @@ export const STORE_SETTLEMENT_DEFAULT_RATE = 0.6;
/** 酒厂账单结算比例(酒单实付 × 比例),暂定 30% */
export const WINERY_SETTLEMENT_RATE = 0.3;
/** 酒厂账单出账滞后自然日(T+3:支付日 + 3 天后纳入账单) */
export const WINERY_SETTLEMENT_LAG_DAYS = 3;
export type { LogisticsSettlementMethod } from './enums';
export { LOGISTICS_SETTLEMENT_METHOD_LABELS } from './enums';
import type { LogisticsSettlementMethod } from './enums';
@@ -5,6 +5,7 @@ export interface StorePackageItemDto {
dishes: string;
usableTime?: string | null;
otherNotes?: string | null;
imageUrl?: string | null;
sortOrder: number;
}
@@ -47,6 +47,7 @@ export interface SupportTicketDto {
reviewerName?: string | null;
reviewedAt?: string | null;
remark?: string | null;
attachmentUrls?: string[] | null;
createdAt: string;
updatedAt: string;
completedAt?: string | null;
@@ -57,6 +58,15 @@ export interface CreateSupportTicketRequest {
title: string;
content?: string;
remark?: string;
attachmentUrls?: string[];
}
export interface UpdateSupportTicketRequest {
ticketType?: SupportTicketTypeDto;
title?: string;
content?: string;
remark?: string;
attachmentUrls?: string[];
}
export interface RejectSupportTicketRequest {
@@ -73,6 +83,8 @@ export interface ReviewSupportTicketRequest {
rejectReason?: string;
note?: string;
tasks?: CreateDevPlanTaskFromTicketInput[];
dispatchToWecom?: boolean;
dispatchSupplement?: string;
}
export interface SupportTicketLinkedTaskDto {
@@ -108,3 +120,10 @@ export interface BatchReviewConfirmItem {
export interface BatchReviewConfirmRequest {
items: BatchReviewConfirmItem[];
}
export interface BatchUpdateSupportTicketStatusRequest {
ticketIds: string[];
status: SupportTicketStatusDto;
rejectReason?: string;
note?: string;
}