Commit 2814329d authored by 刘基明's avatar 刘基明

接口修改

parent 154269ef
package com.tanpu.community.api.beans.req.comment;
import com.tanpu.community.api.beans.req.theme.ThemeContentReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
......@@ -12,6 +11,7 @@ import javax.validation.constraints.NotEmpty;
public class CreateCommentReq {
@NotEmpty(message = "主题id不能为空")
@ApiModelProperty(value = "主题Id")
private String themeId;
@ApiModelProperty(value = "一级评论id(对主题的一级评论,此项为空)")
......@@ -21,8 +21,7 @@ public class CreateCommentReq {
private String replyId;
@NotEmpty(message = "评论内容不能为空")
private ThemeContentReq comment;
@ApiModelProperty(value = "评论内容")
private String comment;
@ApiModelProperty(value = "是否同步到专栏")
private boolean copyToNewsFeed;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment