luodangjia
2024-04-28 94e9dc3adb80baf6e1d7d56e54a93917996bc339
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package cn.stylefeng.roses.kernel.system.integration.modular.system.file;
 
import cn.stylefeng.roses.kernel.rule.enums.ResBizTypeEnum;
import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
import org.springframework.stereotype.Controller;
 
/**
 * 文件管理界面
 *
 * @author lgq
 * @date 2021/1/9
 */
@Controller
@ApiResource(name = "文件管理界面", resBizType = ResBizTypeEnum.SYSTEM)
public class FileViewController {
 
    /**
     * 文件管理首页
     *
     * @author lgq
     * @date 2021/1/9
     */
    @GetResource(name = "文件管理首页", path = "/view/file")
    public String fileIndex() {
        return "/modular/system/fileInfo/file_info.html";
    }
 
    /**
     * 文件详情页面
     *
     * @author lgq
     * @date 2021/1/9
     */
    @GetResource(name = "文件详情页面", path = "/view/fileInfoDetails")
    public String details() {
        return "/modular/system/fileInfo/file_info_details.html";
    }
 
}