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
41
package cn.stylefeng.roses.kernel.system.integration.modular.system.datasource;
 
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 2021/1/23 21:45
 */
@Controller
@ApiResource(name = "多数据源界面", resBizType = ResBizTypeEnum.SYSTEM)
public class DataSourceViewController {
 
    /**
     * 多数据源列表界面
     *
     * @author fengshuonan
     * @date 2021/1/23 21:45
     */
    @GetResource(name = "多数据源列表界面", path = "/view/datasource")
    public String indexView() {
        return "/modular/system/datasource/datasource.html";
    }
 
    /**
     * 多数据源新增界面
     *
     * @author fengshuonan
     * @date 2021/1/23 21:59
     */
    @GetResource(name = "多数据源新增界面", path = "/view/datasource/add")
    public String addView() {
        return "/modular/system/datasource/datasource_add.html";
    }
 
 
}