13 lines
314 B
Java
13 lines
314 B
Java
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();
|
|
}
|
|
}
|