Commit b26376047d38712c25f712668f5a1c6527e90119
1 parent
7d6a59e9c8
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/TemporaryUserController.java
View file @
b263760
... | ... | @@ -24,7 +24,7 @@ |
24 | 24 | @ResponseBody |
25 | 25 | @RequestMapping(value = "/addAndUpdate", method = RequestMethod.POST) |
26 | 26 | @TokenRequired |
27 | - public BaseResponse addAndUpdate(TemporaryUserModel temporaryUser, HttpServletRequest request) { | |
27 | + public BaseResponse addAndUpdate(@Valid @RequestBody TemporaryUserModel temporaryUser, HttpServletRequest request) { | |
28 | 28 | return temporaryUserService.addAndUpdate(temporaryUser, getUserId(request)); |
29 | 29 | |
30 | 30 | } |