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