实现文件上传和数据库记录、Element+vue登录注册UI
This commit is contained in:
@@ -21,7 +21,7 @@ public class LoginController {
|
||||
@PostMapping("/login/dologin")
|
||||
public String doLogin(TbUser tbUser)throws Exception{
|
||||
if (userService.doLoginService(tbUser.getColname(),tbUser.getColpassword())){
|
||||
return "home";
|
||||
return "/home/home";
|
||||
}
|
||||
return "login";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user