jiazx0107
22 小时以前 bbc4982091c9d70caede6924380fbd7b1d8082c1
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
package com.fzzy.sys.controller;
 
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
 
/**
 * @Desc:
 * @Author: Andy.jia
 * @Date: 2025/12/15
 */
@Controller
public class DemoController {
 
    /**
     * DEMO页面控制
     * @param request
     * @param response
     * @param tag
     * @return
     */
    @GetMapping("/demo")
    public String demo(HttpServletRequest request, HttpServletResponse response,
                       @RequestParam("t") String tag, @RequestParam("r") String r) {
 
        if (null == tag) tag = "1";
 
        return "demo_v" + tag;
    }
}