更新代码

pull/65/head
fengshuonan 2021-01-13 13:17:59 +08:00
parent 19ef41a385
commit 44e42fa764
2 changed files with 16 additions and 18 deletions

View File

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

View File

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