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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
package cn.stylefeng.roses.kernel.system.integration.modular.system.i18n;
 
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/24 19:15
 */
@Controller
@ApiResource(name = "多语言界面", resBizType = ResBizTypeEnum.SYSTEM)
public class TranslationViewController {
 
    /**
     * 多语言主界面
     *
     * @author fengshuonan
     * @date 2021/1/24 19:15
     */
    @GetResource(name = "多语言主界面", path = "/view/i18n")
    public String index() {
        return "/modular/system/i18n/translation.html";
    }
 
    /**
     * 多语言新增界面
     *
     * @author fengshuonan
     * @date 2021/1/24 19:16
     */
    @GetResource(name = "多语言新增界面", path = "/view/i18n/add")
    public String add() {
        return "/modular/system/i18n/translation_add.html";
    }
 
    /**
     * 多语言编辑界面
     *
     * @author fengshuonan
     * @date 2021/1/24 19:16
     */
    @GetResource(name = "多语言编辑界面", path = "/view/i18n/edit")
    public String edit() {
        return "/modular/system/i18n/translation_edit.html";
    }
 
    /**
     * 多语言增加语种界面
     *
     * @author chenjinlong
     * @date 2021/1/22 16:09
     */
    @GetResource(name = "多语言增加语种界面", path = "/view/i18n/addTranslationView")
    public String addTranslationView() {
        return "/modular/system/i18n/dict_add_translation.html";
    }
 
}