活动专区

This commit is contained in:
liu
2026-08-09 11:23:54 +08:00
parent 9153c4eead
commit 7e5a83a81f
13 changed files with 632 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
import type { ICategory } from '@/domain/iCategory';
import type { ISysFileInfo } from '@/domain/iSysFile';
/** 首页活动专区 */
export interface IActivity {
id?: number;
/** 活动标题 */
title: string;
/** 活动图片信息(ISysFileInfo 对象) */
image: ISysFileInfo | string;
/** 跳转类型:0=链接,1=分类 */
link_type?: number;
/** 跳转链接(link_type=0 时生效) */
link?: string;
/** 分类IDlink_type=1 时生效) */
category_id?: number;
/** 所属分类(后端关联返回) */
category?: ICategory;
/** 活动描述 */
description?: string;
/** 状态:0=启用,1=禁用 */
status: number;
/** 排序 */
sort: number;
created_at?: string;
updated_at?: string;
}