Compare commits

...

2 Commits

Author SHA1 Message Date
Binlin B Wang 45a93030f3 Merge remote-tracking branch 'origin/master' 2022-08-02 19:16:54 +08:00
Binlin B Wang d677e7c48e . 2022-08-02 19:16:25 +08:00
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ private Long id;
解决方案,将controller层中新增和更新接口中的判空改至实体类层,在controller层只需要添加@Validated注解即可
```java
@PostMapping({"/login"})
public AjaxResult test(@Validated EleUser eleUser){