websoft-uniapp仓库模板
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.
 
 
 
 
 
 

61 lines
1.2 KiB

import type { PageParam } from '@/api';
/**
* 评论表
*/
export interface GoodsComment {
// 评论ID
id?: number;
// 用户ID
uid?: number;
// 订单ID
oid?: number;
// 商品唯一id
unique?: string;
// 商品id
goodsId?: number;
// 某种商品类型(普通商品、秒杀商品)
replyType?: string;
// 商品分数
goodsScore?: string;
// 服务分数
serviceScore?: string;
// 评论内容
comment?: string;
// 评论图片
pics?: string;
// 管理员回复内容
merchantReplyContent?: string;
// 管理员回复时间
merchantReplyTime?: number;
// 0未删除1已删除
isDel?: string;
// 0未回复1已回复
isReply?: string;
// 用户名称
nickname?: string;
// 用户头像
avatar?: string;
// 商品规格属性值,多个,号隔开
sku?: string;
// 状态, 0正常, 1冻结
status?: number;
// 是否删除, 0否, 1是
deleted?: number;
// 用户ID
userId?: number;
// 租户id
tenantId?: number;
// 注册时间
createTime?: string;
// 更新时间
updateTime?: string;
}
/**
* 评论表搜索条件
*/
export interface GoodsCommentParam extends PageParam {
id?: number;
keywords?: string;
}