You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
602 B
31 lines
602 B
import type { PageParam } from '@/api';
|
|
|
|
/**
|
|
* 商品点赞和收藏表
|
|
*/
|
|
export interface GoodsRelation {
|
|
// id
|
|
id?: number;
|
|
// 用户ID
|
|
userId?: number;
|
|
// 商品ID
|
|
goodsId?: number;
|
|
// 类型(收藏(collect)、点赞(like))
|
|
type?: string;
|
|
// 某种类型的商品(普通商品、秒杀商品)
|
|
category?: string;
|
|
// 租户id
|
|
tenantId?: number;
|
|
// 创建时间
|
|
createTime?: string;
|
|
// 更新时间
|
|
updateTime?: string;
|
|
}
|
|
|
|
/**
|
|
* 商品点赞和收藏表搜索条件
|
|
*/
|
|
export interface GoodsRelationParam extends PageParam {
|
|
id?: number;
|
|
keywords?: string;
|
|
}
|