package com.gjz.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Guan
 * @date 2022/8/8
 * discription
 */

@Controller
//@RequestMapping("/test")
public class TestRequestMappingController {
    @RequestMapping(value = {"/hello", "/abc"},method = RequestMethod.GET)
    public String hello(){
        return "success";
    }
}
