Compare commits
No commits in common. "45a93030f3a4df5a04593e2312b0d6a858382d4c" and "a334e106a4e1463b6e63ae9bf67cd39f1767d87a" have entirely different histories.
45a93030f3
...
a334e106a4
|
|
@ -10,7 +10,6 @@ private Long id;
|
||||||
|
|
||||||
解决方案,将controller层中新增和更新接口中的判空改至实体类层,在controller层只需要添加@Validated注解即可
|
解决方案,将controller层中新增和更新接口中的判空改至实体类层,在controller层只需要添加@Validated注解即可
|
||||||
|
|
||||||
|
|
||||||
```java
|
```java
|
||||||
@PostMapping({"/login"})
|
@PostMapping({"/login"})
|
||||||
public AjaxResult test(@Validated EleUser eleUser){
|
public AjaxResult test(@Validated EleUser eleUser){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue