feat(project): align product list/detail with prototype

This commit is contained in:
2026-02-21 17:25:47 +08:00
parent e5365710b0
commit 3647bebf19
11 changed files with 814 additions and 335 deletions

View File

@@ -143,6 +143,7 @@ export interface ProductListItemDto {
/** 商品详情。 */
export interface ProductDetailDto extends ProductListItemDto {
description: string;
imageUrls?: string[];
notifyManager: boolean;
recoverAt: null | string;
remainStock: number;
@@ -172,6 +173,7 @@ export interface SaveProductDto {
categoryId: string;
description: string;
id?: string;
imageUrls?: string[];
kind: ProductKind;
name: string;
originalPrice: null | number;