整理控制器类

pull/65/head
fengshuonan 2021-01-16 19:18:59 +08:00
parent d010744f10
commit 985f47571e
21 changed files with 8 additions and 50 deletions

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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";
}

View File

@ -41,6 +41,7 @@ public class IndexService {
@Resource
private MessageApi messageApi;
/**
*
*

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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;
/**

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {