mirror of https://gitee.com/stylefeng/guns
更新代码
parent
19ef41a385
commit
44e42fa764
|
@ -9,53 +9,45 @@ import org.springframework.stereotype.Controller;
|
||||||
/**
|
/**
|
||||||
* 字典类型视图控制器
|
* 字典类型视图控制器
|
||||||
*
|
*
|
||||||
* @Author: huangyao
|
* @author huangyao
|
||||||
* @Date: 2021/1/6 20:53
|
* @date 2021/1/6 20:53
|
||||||
**/
|
**/
|
||||||
@Controller
|
@Controller
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@ApiResource(name = "字典类型管理相关的界面渲染")
|
@ApiResource(name = "字典类型管理相关的界面渲染")
|
||||||
public class DictTypeViewController {
|
public class DictTypeViewController {
|
||||||
|
|
||||||
private String PREFIX = "/modular/system/dictType";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 字典类型管理-字典类型-视图
|
* 字典类型管理-字典类型-视图
|
||||||
*
|
*
|
||||||
* @param
|
|
||||||
* @return
|
|
||||||
* @author huangyao
|
* @author huangyao
|
||||||
* @date 2021/1/6 21:08
|
* @date 2021/1/6 21:08
|
||||||
*/
|
*/
|
||||||
@GetResource(name = "字典类型管理-列表-视图", path = "/view/dictType")
|
@GetResource(name = "字典类型管理-列表-视图", path = "/view/dictType")
|
||||||
public String indexView() {
|
public String indexView() {
|
||||||
return PREFIX + "/dictType.html";
|
return "/modular/system/dictType/dictType.html";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 字典类型管理-添加-视图
|
* 字典类型管理-添加-视图
|
||||||
*
|
*
|
||||||
* @param
|
|
||||||
* @return
|
|
||||||
* @author huangyao
|
* @author huangyao
|
||||||
* @date 2021/1/6 21:25
|
* @date 2021/1/6 21:25
|
||||||
*/
|
*/
|
||||||
@GetResource(name = "字典类型管理-添加-视图", path = "/view/dictType/addView")
|
@GetResource(name = "字典类型管理-添加-视图", path = "/view/dictType/addView")
|
||||||
public String addView() {
|
public String addView() {
|
||||||
return PREFIX + "/dictType_add.html";
|
return "/modular/system/dictType/dictType_add.html";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 字典类型管理-编辑-视图
|
* 字典类型管理-编辑-视图
|
||||||
*
|
*
|
||||||
* @param
|
|
||||||
* @return
|
|
||||||
* @author huangyao
|
* @author huangyao
|
||||||
* @date 2021/1/6 21:26
|
* @date 2021/1/6 21:26
|
||||||
*/
|
*/
|
||||||
@GetResource(name = "字典类型管理-编辑-视图", path = "/view/dictType/editView")
|
@GetResource(name = "字典类型管理-编辑-视图", path = "/view/dictType/editView")
|
||||||
public String editView() {
|
public String editView() {
|
||||||
return PREFIX + "/dictType_edit.html";
|
return "/modular/system/dictType/dictType_edit.html";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
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.ApiResource;
|
||||||
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
|
||||||
|
@ -7,18 +7,24 @@ import org.springframework.stereotype.Controller;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 文件管理界面
|
* 文件管理界面
|
||||||
* @author : lgq
|
*
|
||||||
* @date : 2021/1/9
|
* @author lgq
|
||||||
|
* @date 2021/1/9
|
||||||
*/
|
*/
|
||||||
@Controller
|
@Controller
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@ApiResource(name = "文件管理界面")
|
@ApiResource(name = "文件管理界面")
|
||||||
public class FileViewController {
|
public class FileViewController {
|
||||||
|
|
||||||
@GetResource(name = "菜单管理首页", path = "/view/file")
|
/**
|
||||||
|
* 文件管理首页
|
||||||
|
*
|
||||||
|
* @author lgq
|
||||||
|
* @date 2021/1/9
|
||||||
|
*/
|
||||||
|
@GetResource(name = "文件管理首页", path = "/view/file")
|
||||||
public String fileIndex() {
|
public String fileIndex() {
|
||||||
return "/modular/system/fileInfo/file_info.html";
|
return "/modular/system/fileInfo/file_info.html";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue