ws
2024-11-25 36eacf7f2ab1ce7f0c40439b3ee6d13ecfcc5265
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
63
64
package com.fzzy.web;
 
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;
 
/**
 * 主页入口
 */
@Controller
@RequestMapping
public class HomeController {
 
    @RequestMapping("/")
    public ModelAndView index() {
        ModelAndView view = new ModelAndView();
        view.setViewName("home/home");
        return view;
    }
 
    /**
     * 后台管理主页面
     *
     * @return
     */
    @RequestMapping("/home")
    public ModelAndView home(
            @RequestParam(name = "tag", required = false) String tag) {
        ModelAndView view = new ModelAndView();
 
        view.setViewName("home/home");
        return view;
    }
 
    /**
     * 后台管理主页面
     *
     * @return
     */
    @RequestMapping("/home2")
    public ModelAndView home2(
            @RequestParam(name = "tag", required = false) String tag) {
        ModelAndView view = new ModelAndView();
 
        view.setViewName("home/home2");
        return view;
    }
 
    /**
     * 后台管理主页面-武汉军粮省平台
     *
     * @return
     */
    @RequestMapping("/home-whjl")
    public ModelAndView homeWhjl(
            @RequestParam(name = "tag", required = false) String tag) {
        ModelAndView view = new ModelAndView();
 
        view.setViewName("home/home-whjl");
        return view;
    }
 
}