goupan
2024-04-03 5506e9a45e717ffcb67ec313b5a4e8206d9b3a39
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.dashboard;
 
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 fengshuonan
 * @date 2020/12/29 21:29
 */
@Controller
@ApiResource(name = "工作台和分析页面", resBizType = ResBizTypeEnum.SYSTEM)
public class DashboardViewController {
 
    /**
     * 工作台
     *
     * @author fengshuonan
     * @date 2018/12/24 22:43
     */
    @GetResource(name = "工作台", path = "/view/dashboard/workplace", requiredPermission = false)
    public String platform() {
        return "/modular/system/dashboard/board_platform.html";
    }
 
    /**
     * 分析页面
     *
     * @author fengshuonan
     * @date 2020/12/29 21:27
     */
    @GetResource(name = "分析页面", path = "/view/dashboard/analysis", requiredPermission = false)
    public String analyse() {
        return "/modular/system/dashboard/board_analyse.html";
    }
 
}