mirror of https://gitee.com/stylefeng/guns
整理控制器类
parent
d010744f10
commit
985f47571e
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.api;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/14 21:05
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "API文档管理")
|
||||
public class ApiViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.app;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/6 13:32
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "应用管理界面")
|
||||
public class AppViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.config;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/10 14:28
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "系统配置相关页面")
|
||||
public class ConfigViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.dashboard;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2020/12/29 21:29
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "工作台和分析页面")
|
||||
public class DashboardViewController {
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ package cn.stylefeng.guns.modular.dict;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -13,7 +12,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/6 20:53
|
||||
**/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "字典类型管理相关的界面渲染")
|
||||
public class DictTypeViewController {
|
||||
|
||||
|
|
|
@ -1,22 +1,19 @@
|
|||
package cn.stylefeng.guns.modular.file.controller;
|
||||
package cn.stylefeng.guns.modular.file;
|
||||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
* 文件管理界面
|
||||
* @author : lgq
|
||||
* @date : 2021/1/9
|
||||
*
|
||||
* @author lgq
|
||||
* @date 2021/1/9
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "文件管理界面")
|
||||
public class FileViewController {
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 文件管理首页
|
||||
*
|
||||
|
@ -28,17 +25,14 @@ public class FileViewController {
|
|||
return "/modular/system/fileInfo/file_info.html";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 文件详情页面
|
||||
* 文件详情页面
|
||||
*
|
||||
* @author lgq
|
||||
* @date 2021/1/12 下午11:11
|
||||
* @date 2021/1/9
|
||||
*/
|
||||
@GetResource(name = "文件详情页面", path = "/view/fileInfoDetails")
|
||||
public String details(){
|
||||
|
||||
public String details() {
|
||||
return "/modular/system/fileInfo/file_info_details.html";
|
||||
}
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ public class IndexService {
|
|||
|
||||
@Resource
|
||||
private MessageApi messageApi;
|
||||
|
||||
/**
|
||||
* 获取首页需要渲染的参数
|
||||
*
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.log;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/13 19:45
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "操作日志管理相关的界面渲染")
|
||||
public class LogViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.log;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/5 14:42
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "登陆日志管理相关的界面渲染")
|
||||
public class LoginLogViewController {
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
|||
import cn.stylefeng.roses.kernel.resource.api.annotation.PostResource;
|
||||
import cn.stylefeng.roses.kernel.rule.pojo.response.ResponseData;
|
||||
import cn.stylefeng.roses.kernel.rule.pojo.response.SuccessResponseData;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
@ -24,7 +23,6 @@ import javax.annotation.Resource;
|
|||
* @date 2020/12/27 16:23
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "登录相关的接口")
|
||||
public class LoginViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.menu;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/9 16:11
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "菜单按钮管理界面")
|
||||
public class MenuButtonViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.menu;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/6 16:43
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "菜单管理界面")
|
||||
public class MenuViewController {
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ import cn.stylefeng.roses.kernel.message.api.pojo.MessageParam;
|
|||
import cn.stylefeng.roses.kernel.message.api.pojo.MessageResponse;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
|
||||
|
@ -20,7 +19,6 @@ import java.util.List;
|
|||
* @date 2021/1/11 19:37
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "系统消息相关的界面渲染")
|
||||
public class MessageViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.notice.controller;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/8 20:55
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "通知管理界面")
|
||||
public class NoticeViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.position;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.resource;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/8 21:59
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "资源管理界面")
|
||||
public class ResourceViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.role;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/8 20:55
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "角色管理界面")
|
||||
public class RoleViewController {
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ package cn.stylefeng.guns.modular.system.controller;
|
|||
import cn.stylefeng.guns.modular.system.warpper.SystemHardwareWrapper;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
|
@ -15,7 +14,6 @@ import org.springframework.ui.Model;
|
|||
* @date 2020/12/30 16:40
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "项目监控")
|
||||
public class MonitorController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.timer;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/6 3:56 下午
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "定时管理相关的界面渲染")
|
||||
public class TimersViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.user;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/11 22:02
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "在线用户查看界面")
|
||||
public class OnlineUserViewController {
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package cn.stylefeng.guns.modular.user;
|
|||
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
||||
/**
|
||||
|
@ -12,7 +11,6 @@ import org.springframework.stereotype.Controller;
|
|||
* @date 2021/1/7 19:09
|
||||
*/
|
||||
@Controller
|
||||
@Slf4j
|
||||
@ApiResource(name = "用户管理界面渲染")
|
||||
public class UserViewController {
|
||||
|
||||
|
|
Loading…
Reference in New Issue