Commit 1a4f68d5 by zhangkb

尝试修改后台返回前台错误类型

parent afe81e25
......@@ -23,6 +23,7 @@ import io.swagger.annotations.ApiOperation;
@Api(tags={"规则管理-指标目录定义接口"})
@RestController
@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)
@RequestMapping(value = "/indCatalog")
public class IndCatalogCtrl {
@Autowired
......@@ -30,7 +31,6 @@ public class IndCatalogCtrl {
@Autowired
private DriveIndCatalogService driveIndCatalogService;
@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)
@ApiOperation(value = "新建基础指标目录", notes = "新建基础指标目录")
@PostMapping(value = "/createBaseIndCatalog")
public Integer createBaseIndCatalog(@RequestBody IndCatalog indCatalog) throws Exception{
......@@ -85,7 +85,6 @@ public class IndCatalogCtrl {
}
//考核指标目录
@ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR)
@ApiOperation(value = "新建考核指标目录", notes = "新建考核指标目录")
@PostMapping(value = "/createDriveIndCatalog")
public Integer createDriveIndCatalog(@RequestBody DriveIndCatalog driveIndCatalog) throws Exception{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment