@ -328,6 +328,7 @@ public class CommentController extends BaseController {
}
@ApiOperation(value = "添加评论",notes = "添加评论,需要登录,并且需要提供评论内容,type 1 代表期刊,2 代表文章 3代表专辑 4代表歌曲")
@PostMapping
public Result save(@RequestBody CommentVo commentVo, @RequestHeader(value = "Authorization", required = true) String authorization){
//验证是否登录,并且拿到ID
@ -39,6 +39,8 @@ public class Comment implements Serializable {
// 状态
private Integer state;
private Integer type;
private String location; //归属地
/**
@ -15,5 +15,7 @@ public class CommentVo {
private String journalId;
// private String journalImage;