异常处理器升级到 0.0.4-SNAPSHOT。

This commit is contained in:
2022-12-11 15:16:28 +08:00
parent 0ab296358d
commit 7d37dead60
8 changed files with 28 additions and 6 deletions

View File

@@ -0,0 +1,12 @@
package xyz.zhouxy.plusone;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class TestController {
@RequestMapping("/test")
public String test() throws Exception {
throw new Exception();
}
}