logout
This commit is contained in:
@@ -22,6 +22,10 @@ public class AdminSystemController {
|
|||||||
/**
|
/**
|
||||||
* 后台退出
|
* 后台退出
|
||||||
*/
|
*/
|
||||||
|
@RequestMapping("/admin/logout")
|
||||||
|
public String logout(@RequestParam(defaultValue = "discussion") String type, HttpServletRequest request, ModelMap map) {
|
||||||
|
return "admin/logout";
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 后台设置管理
|
* 后台设置管理
|
||||||
@@ -32,7 +36,7 @@ public class AdminSystemController {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@RequestMapping("/admin/home")
|
@RequestMapping("/admin/home")
|
||||||
public String user(@RequestParam(defaultValue = "discussion") String type, HttpServletRequest request, ModelMap map) {
|
public String home(@RequestParam(defaultValue = "discussion") String type, HttpServletRequest request, ModelMap map) {
|
||||||
return "admin/home";
|
return "admin/home";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user