From 20201b7c7b28d5342be4a0e0b1e8641b2490c78b Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 13 Jan 2025 22:34:13 +0800
Subject: [PATCH] fix(mall): 修复获取积分日榜和月榜时的潜在空指针异常
---
src/main/java/cc/mrbird/febs/mall/dto/ApiMallGoodsCommentDto.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/dto/ApiMallGoodsCommentDto.java b/src/main/java/cc/mrbird/febs/mall/dto/ApiMallGoodsCommentDto.java
index 97a254a..ba68a95 100644
--- a/src/main/java/cc/mrbird/febs/mall/dto/ApiMallGoodsCommentDto.java
+++ b/src/main/java/cc/mrbird/febs/mall/dto/ApiMallGoodsCommentDto.java
@@ -17,4 +17,7 @@
@ApiModelProperty(value = "商品ID", example = "1")
private Long goodsId;
+ @ApiModelProperty(value = "评价等级", example = "1:好评2:中评3:差评")
+ private Integer commentType;
+
}
--
Gitblit v1.9.1