【功能修复】商城:订单评价偶现订单商品已评价(实际未评价)

This commit is contained in:
YunaiV 2024-08-23 20:06:36 +08:00
parent 02562cb77d
commit 7384b5c3f6

View File

@ -67,7 +67,7 @@ public class ProductCommentServiceImpl implements ProductCommentService {
// 校验 SPU
ProductSpuDO spu = validateSpu(sku.getSpuId());
// 校验评论
validateCommentExists(createReqDTO.getUserId(), createReqDTO.getOrderId());
validateCommentExists(createReqDTO.getUserId(), createReqDTO.getOrderItemId());
// 获取用户详细信息
MemberUserRespDTO user = memberUserApi.getUser(createReqDTO.getUserId());