liujie
2023-07-26 1a929c5d1f6e76fe93221d1e1c28227e9e3584c7
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
package com.dsh.guns.modular.system.controller.code;
 
import com.dsh.guns.core.base.controller.BaseController;
import com.dsh.guns.modular.system.client.competition.CompetitionClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
 
/**
 * 菜单控制器
 *
 * @author fengshuonan
 * @Date 2017年2月12日21:59:14
 */
@Controller
@RequestMapping("/tCompetition")
public class TCompetitionController extends BaseController {
 
    private static String PREFIX = "/system/tCompetition/";
 
    @Autowired
    private CompetitionClient competitionClient;
 
 
    /**
     * 跳转到菜单列表列表页面
     */
    @RequestMapping("")
    public String index(Model model) {
        return PREFIX + "tCompetition.html";
    }
 
    /**
     * 跳转到菜单列表列表页面
     */
    @RequestMapping(value = "/tCompetition_add")
    public String tCompetitionAdd(Model model) {
        return PREFIX + "tCompetition_add.html";
    }
 
    /**
     * 跳转到菜单详情列表页面
     */
    @RequestMapping(value = "/tCompetition_edit/{id}")
    public String menuEdit(@PathVariable Integer id, Model model) {
        return PREFIX + "menu_edit.html";
    }
 
 
 
}