mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 03:49:19 +08:00
forgot it
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/** 商品规格过滤条件 */
|
||||
|
||||
Reference in New Issue
Block a user