fix: 禁用演示站点地区维护功能费
This commit is contained in:
parent
b2dfb3abe2
commit
5366034556
@ -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删除")
|
||||
|
Loading…
x
Reference in New Issue
Block a user