最终版
This commit is contained in:
parent
83b93221ab
commit
c99abaa96c
|
@ -68,16 +68,5 @@ public class LoginController {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 用户注册接口
|
||||
*
|
||||
* @param login 用户信息
|
||||
* @return Result
|
||||
*/
|
||||
@PostMapping(value = "/register")
|
||||
@ResponseBody
|
||||
public LoginResponse register(@RequestBody Login login) {
|
||||
return userService.register(login);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue