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; } }