@Controller public class LoginController extends Object
Constructor and Description |
---|
LoginController() |
Modifier and Type | Method and Description |
---|---|
SysMenu |
getChild(String id) |
com.alibaba.fastjson.JSONArray |
getMenuJson()
组装菜单json格式
update by 17/12/13
|
void |
getYzm(javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request) |
String |
goLogin(org.springframework.ui.Model model,
javax.servlet.ServletRequest request) |
String |
login(SysUser user,
org.springframework.ui.Model model,
String rememberMe,
javax.servlet.http.HttpServletRequest request)
登录动作
|
String |
loginCheck() |
String |
loginInit() |
String |
logout() |
String |
main() |
@GetMapping(value="") public String loginInit()
@GetMapping(value="goLogin") public String goLogin(org.springframework.ui.Model model, javax.servlet.ServletRequest request)
@GetMapping(value="/login") public String loginCheck()
@PostMapping(value="/login") public String login(SysUser user, org.springframework.ui.Model model, String rememberMe, javax.servlet.http.HttpServletRequest request)
user
- model
- rememberMe
- @GetMapping(value="/main") public String main()
@Log(desc="\u7528\u6237\u9000\u51fa\u5e73\u53f0") @GetMapping(value="/logout") public String logout()
public com.alibaba.fastjson.JSONArray getMenuJson()
@GetMapping(value="/getCode") public void getYzm(javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpServletRequest request)
Copyright © 2019. All rights reserved.