This commit is contained in:
2022-04-18 23:05:11 +08:00
parent 3a412f1a5c
commit 3e59f8f617
5 changed files with 31 additions and 9 deletions
@@ -9,20 +9,26 @@ import org.springframework.web.bind.annotation.RequestParam;
import javax.servlet.http.HttpServletRequest;
/**
* @author yaoyuan2.chu
* 后台系统控制器
*/
@Controller
public class AdminSystemController {
//后台登录
/**
* 后台登录
*/
//后台退出
/**
* 后台退出
*/
//后台设置管理
/**
* 后台设置管理
*/
/**
* 后台页面
*
* @return
*/
@RequestMapping("/admin/home")
@@ -3,11 +3,12 @@ package com.yaoyuan.jiscuss.controller;
import org.springframework.stereotype.Controller;
/**
* @author yaoyuan2.chu
* 用户消息控制器
*/
@Controller
public class UserMsgController extends BaseController {
/**
* 首页最新消息
*/
@@ -3,10 +3,13 @@ package com.yaoyuan.jiscuss.controller;
import org.springframework.stereotype.Controller;
/**
* @author yaoyuan2.chu
* 其他控制器——积分/权限等
*/
@Controller
public class UserOtherController extends BaseController {
//用户积分获取
/**
* 用户积分获取
*/
}
@@ -32,6 +32,7 @@ import java.util.Date;
import java.util.List;
/**
* @author yaoyuan2.chu
* 主题帖子评论控制器
*/
@Controller
@@ -55,10 +56,18 @@ public class UserPostController extends BaseController {
private IUsersService usersService;
//首页查看主题列表(各种条件筛选,最热最新标签等)
/**
* 首页查看主题列表(各种条件筛选,最热最新标签等)
*/
//查看主题详情
/**
* 查看主题详情
* @param request
* @param map
* @param id
* @return
*/
@RequestMapping("/getdiscussionsbyid")
public String getDiscussionsById(HttpServletRequest request, ModelMap map, @RequestParam("id") Integer id) {
logger.info(">>> getDiscussionsById{}", id);
@@ -225,7 +234,9 @@ public class UserPostController extends BaseController {
}
//排行榜等
/**
* 排行榜等
*/
/**
* 新建主题页
@@ -30,6 +30,7 @@ import java.util.List;
import java.util.Map;
/**
* @author yaoyuan2.chu
* 首页页面系统控制器
*/
@Controller