feat: 忘了干啥了

This commit is contained in:
ah--desktop
2026-03-09 20:40:13 +08:00
parent 79109202d3
commit 60d34e2a47
37 changed files with 751 additions and 2673 deletions
@@ -27,17 +27,23 @@ export namespace ProductDTO {
specs?: UpdateSpec[];
}
/** 商品规格DTO */
/** 商品规格DTO(创建时) */
export interface Spec {
/** 规格名称 */
name: string;
/** 规格编码 */
specCode?: string;
/** 成本价 */
costPrice: number;
/** 商品成本 */
productCost: number;
/** 运费成本 */
shippingCost?: number;
/** 其他成本 */
otherCost?: number;
/** 备注 */
remark?: string;
}
/** 创建商品规格参数 */
/** 创建商品规格参数(独立接口用) */
export interface CreateSpec {
/** 商品ID */
productId: number;
@@ -45,8 +51,14 @@ export namespace ProductDTO {
name: string;
/** 规格编码 */
specCode?: string;
/** 成本价 */
costPrice: number;
/** 商品成本 */
productCost: number;
/** 运费成本 */
shippingCost?: number;
/** 其他成本 */
otherCost?: number;
/** 备注 */
remark?: string;
}
/** 更新商品规格参数 */
@@ -57,8 +69,14 @@ export namespace ProductDTO {
name: string;
/** 规格编码 */
specCode?: string;
/** 成本价 */
costPrice: number;
/** 商品成本 */
productCost: number;
/** 运费成本 */
shippingCost?: number;
/** 其他成本 */
otherCost?: number;
/** 备注 */
remark?: string;
}
/** 商品过滤条件 */
@@ -13,10 +13,8 @@ export namespace ProductVO {
name: string;
/** 商品编码 */
productCode?: string;
/** 主图URL(冗余字段) */
/** 主图URL */
mainImage?: string;
/** 主图图片ID */
mainImageId?: number;
/** 创建时间 */
createTime: string;
/** 更新时间 */
@@ -43,8 +41,14 @@ export namespace ProductVO {
name: string;
/** 规格编码 */
specCode?: string;
/** 成本价 */
costPrice: number;
/** 商品成本 */
productCost: number;
/** 运费成本 */
shippingCost?: number;
/** 其他成本 */
otherCost?: number;
/** 备注 */
remark?: string;
/** 创建时间 */
createTime: string;
/** 更新时间 */
@@ -107,6 +107,8 @@ export namespace ShopVO {
/** 店铺概览统计信息 */
export interface OverviewStatistics {
/** 店铺名称 */
shopName: string;
/** 店铺总销售额 */
totalSalesAmount: number;
/** 较上月同期增长百分比 */