|
|
@@ -57,12 +57,12 @@ public class BusConstantController {
|
|
|
}
|
|
|
|
|
|
@PostMapping("/{type}/remove")
|
|
|
- @SaCheckPermission("bus:constant:delete")
|
|
|
+ @SaCheckPermission("bus:constant:remove")
|
|
|
@ApiImplicitParams({
|
|
|
@ApiImplicitParam(name = "id",value = "主键id",required = true),
|
|
|
@ApiImplicitParam(name = "type",value = "常量类型",required = true,allowableValues = "mix,doctor,alarm",allowMultiple = true,dataTypeClass = ConstantEnum.class)
|
|
|
})
|
|
|
- @ApiOperation(value = "根据ID删除",notes = "权限【bus:constant:delete】")
|
|
|
+ @ApiOperation(value = "根据ID删除",notes = "权限【bus:constant:remove】")
|
|
|
public R delete(@PathVariable("type") ConstantEnum type,@RequestParam("id") Serializable id) {
|
|
|
if(StrUtil.isNullOrUndefined(String.valueOf(id))){
|
|
|
return R.success();
|