fix:test2页面

This commit is contained in:
2026-10-15 11:00:45 +08:00
parent e5b4972c71
commit 50c040a063
2 changed files with 12 additions and 5 deletions
@@ -9,9 +9,4 @@ public class TestController {
public String test() { public String test() {
return "111"; return "111";
} }
@GetMapping("/test2")
public String test2() {
return "222";
}
} }
@@ -0,0 +1,12 @@
package com.demo.controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class TestController2 {
@GetMapping("/test2")
public String test2() {
return "222";
}
}