src/main/java/com/whyc/controller/TestParamController.java
@@ -11,7 +11,7 @@ @RestController @RequestMapping(("testParam")) @Api(value = "测试参数-分级评价") @Api(tags = "测试参数-分级评价") public class TestParamController { @Autowired @@ -31,4 +31,11 @@ return new Response().set(1,"更新完成"); } @ApiOperation("服务调用测试") @GetMapping("callService") public Response<TestParam> callService(int seconds) throws InterruptedException { service.callService(seconds); return new Response().set(1,"调用服务成功!"); } }