fix: 禁用演示站点地区维护功能费

This commit is contained in:
Chopper711 2023-12-18 08:40:24 +08:00
parent b2dfb3abe2
commit 5366034556

View File

@ -49,6 +49,7 @@ public class RegionManagerController {
return ResultUtil.data(regionService.getItem(id));
}
@DemoSite
@PutMapping(value = "/{id}")
@ApiImplicitParam(name = "id", value = "地区ID", required = true, dataType = "String", paramType = "path")
@ApiOperation(value = "更新地区")
@ -59,6 +60,7 @@ public class RegionManagerController {
}
@DemoSite
@PostMapping
@ApiOperation(value = "增加地区")
public ResultMessage<Region> save(@Valid Region region) {
@ -66,6 +68,7 @@ public class RegionManagerController {
return ResultUtil.data(region);
}
@DemoSite
@DeleteMapping(value = "{ids}")
@ApiImplicitParam(name = "id", value = "地区ID", required = true, dataType = "String", allowMultiple = true, paramType = "path")
@ApiOperation(value = "批量通过id删除")