feat: mall comment

This commit is contained in:
xingyu4j
2025-06-07 11:53:32 +08:00
parent 9258716ba7
commit 1b3e2eef81
4 changed files with 445 additions and 26 deletions

View File

@@ -3,6 +3,12 @@ import type { PageParam, PageResult } from '@vben/request';
import { requestClient } from '#/api/request';
export namespace MallCommentApi {
export interface Property {
propertyId: number;
propertyName: string;
valueId: number;
valueName: string;
}
/** 商品评论 */
export interface Comment {
id: number;
@@ -20,11 +26,13 @@ export namespace MallCommentApi {
descriptionScores: number;
benefitScores: number;
content: string;
picUrls: string;
picUrls: string[];
replyStatus: boolean;
replyUserId: number;
replyContent: string;
replyTime: Date;
createTime: Date;
skuProperties: Property[];
}
/** 评论可见性更新 */