refactor(pojo): 修正Article类中attributeid字段的列名拼写
feat(controller): 在ArticleController中添加根据属性ID获取文章的方法 style(repository): 在CategoryRepository方法上添加空行提高可读性 chore: 移除MyAfterProjecyApplication中多余的MapperScan注解
This commit is contained in:
@@ -14,6 +14,9 @@ public class ArticleDto {
|
||||
|
||||
@NotBlank(message = "内容不能为空")
|
||||
private String content;
|
||||
|
||||
@NotNull(message = "属性ID不能为空")
|
||||
private Integer attributeid;
|
||||
|
||||
private String img;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user