From dd8ba2862f97f79caeaef780dfc709985b669ccc Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期四, 27 二月 2025 19:06:03 +0800 Subject: [PATCH] 修改管理后台接口bug --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/ComActDiscussCommentUserDTO.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/ComActDiscussCommentUserDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/ComActDiscussCommentUserDTO.java index 1cf9141..5c1536b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/ComActDiscussCommentUserDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/ComActDiscussCommentUserDTO.java @@ -1,10 +1,10 @@ package com.panzhihua.common.model.dtos.community; +import javax.validation.constraints.Min; + import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; - -import javax.validation.constraints.Min; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -17,13 +17,13 @@ public class ComActDiscussCommentUserDTO { @ApiModelProperty("评论主键") - @Min(value = 1,message = "评论主键不能为空") + @Min(value = 1, message = "评论主键不能为空") private Long id; - @ApiModelProperty(value = "用户主键",hidden = true) + @ApiModelProperty(value = "用户主键", hidden = true) private Long userId; @ApiModelProperty("操作类型 1 点赞 2 取消点赞") - @Min(value = 1,message = "操作类型不能为空") + @Min(value = 1, message = "操作类型不能为空") private Integer type; } -- Gitblit v1.7.1