content: package test.callgraph.spring.mvc;
  
  import org.springframework.web.bind.annotation.GetMapping;
  import org.springframework.web.bind.annotation.PostMapping;
  import org.springframework.web.bind.annotation.RequestBody;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestMethod;
  import org.springframework.web.bind.annotation.RestController;
  import test.callgraph.field.TestField1;
  import test.callgraph.field.TestField2;
  import test.callgraph.field.TestFieldGet1;
  
  /**
   * @author adrninistrator
   * @date 2022/11/17
   * @description:
   */
  @RestController
  @RequestMapping
  public class TestSpringController3 {
      @GetMapping(path = "get1")
      public String get() {
          return "";
      }
  
      @PostMapping(path = "post")
      public String post(@RequestBody final String req) {
          return req;
      }
  
      @RequestMapping(value = "test1", method = RequestMethod.GET)
      public TestField1 test1(TestFieldGet1 data) {
          return null;
      }
  
      @RequestMapping(value = {"test2a", "test2b", "/test2c"}, method = RequestMethod.POST)
      public TestField2 test2(TestField2 testField2) {
          return null;
      }
  }
  