readme、后台管理等更新
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
package com.yaoyuan.jiscuss.controller;
|
||||
|
||||
import com.yaoyuan.jiscuss.entity.UserInfo;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.ModelMap;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
/**
|
||||
* 后台系统控制器
|
||||
@@ -13,4 +19,15 @@ public class AdminSystemController {
|
||||
//后台退出
|
||||
|
||||
//后台设置管理
|
||||
|
||||
/**
|
||||
* 后台页面
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("/admin/home")
|
||||
public String user(@RequestParam(defaultValue = "discussion") String type, HttpServletRequest request, ModelMap map) {
|
||||
|
||||
return "admin/home";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user