推荐商品

This commit is contained in:
liu
2026-08-31 22:21:59 +08:00
parent 6c809d893b
commit 9c59f3bc99
191 changed files with 2095 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
import type IProduct from '@/domain/iProduct.ts';
/** 小程序首页特价推荐商品 */
export default interface IHomeSpecial {
id?: number;
product_id?: number;
product?: IProduct;
sort?: number;
status?: number;
created_at?: string;
updated_at?: string;
}
export const HOME_SPECIAL_STATUS_MAP: Record<number, { text: string; color: string }> = {
0: { text: '停用', color: 'error' },
1: { text: '正常', color: 'success' },
};