forgot it

This commit is contained in:
ah--desktop
2025-12-18 00:33:06 +08:00
parent 8581cccca9
commit 755a6f6a58
15 changed files with 682 additions and 275 deletions
@@ -23,6 +23,8 @@ export namespace ProductDTO {
productCode?: string;
/** 主图图片ID */
mainImageId?: number;
/** 商品规格列表(如果提供,则更新这些规格) */
specs?: UpdateSpec[];
}
/** 商品规格DTO */
@@ -49,6 +51,8 @@ export namespace ProductDTO {
/** 更新商品规格参数 */
export interface UpdateSpec {
/** 规格ID(必填,用于确定更新哪个规格) */
id: number;
/** 规格名称 */
name: string;
/** 规格编码 */
@@ -59,12 +63,14 @@ export namespace ProductDTO {
/** 商品过滤条件 */
export interface Filters {
/** 商品ID */
id?: number;
/** 商品名称(模糊查询) */
name?: string;
/** 商品编码(模糊查询) */
/** 商品编码(精准查询) */
productCode?: string;
/** 规格编码(精准查询) */
specCode?: string;
/** 规格名称(模糊查询) */
specName?: string;
}
/** 商品规格过滤条件 */