Commit cb99998e authored by xiaosl's avatar xiaosl

评论举报

parent c64119ef
......@@ -32,7 +32,7 @@ public class ReportComment implements Serializable {
*/
@Column(name = "comment_id")
@ApiModelProperty(value = "")
private Long commentId;
private String commentId;
/**
*
......@@ -63,11 +63,19 @@ public class ReportComment implements Serializable {
private String picUrl;
/**
* 状态,1未处理,2已处理
*/
@Column(name = "status")
* 状态,1未处理,2已处理
*/
@Column(name = "status")
@ApiModelProperty(value = "状态,1未处理,2已处理")
private Integer status;
private Integer status;
/**
* 类型,1: 订单商品,2: 活动,3: 达人秀
*/
@Column(name = "commentType")
@ApiModelProperty(value = "类型,1: 订单商品,2: 活动,3: 达人秀")
private Integer commentType;
}
......@@ -8,13 +8,11 @@ import com.github.wxiaoqi.security.admin.biz.ReportCommentBiz;
import com.github.wxiaoqi.security.admin.entity.ReportComment;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@RestController
@RequestMapping("app/reportComment")
......
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