3e7eb06c by chentao

no message

1 parent a558fb88
...@@ -37,7 +37,7 @@ public class RegisterUserController extends BaseController { ...@@ -37,7 +37,7 @@ public class RegisterUserController extends BaseController {
37 @SaIgnore 37 @SaIgnore
38 @PostMapping("/register") 38 @PostMapping("/register")
39 public R<Void> register(@Validated @RequestBody RegisterBody user) { 39 public R<Void> register(@Validated @RequestBody RegisterBody user) {
40 user.setUserType(UserType.APP_USER.name()); 40 user.setUserType(UserType.APP_USER.getUserType());
41 registerService.register(user); 41 registerService.register(user);
42 return R.ok(); 42 return R.ok();
43 } 43 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!