3e7eb06c by chentao

no message

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