1476 fix: 修复system模块岗位批量删除接口
This commit is contained in:
parent
e1f64eaad2
commit
4576801e75
@ -64,6 +64,14 @@ public class PostController {
|
|||||||
return success(true);
|
return success(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@DeleteMapping("delete-list")
|
||||||
|
@Operation(summary = "批量删除岗位")
|
||||||
|
@PreAuthorize("@ss.hasPermission('system:post:delete')")
|
||||||
|
public CommonResult<Boolean> deletePostList(@RequestParam("ids") List<Long> ids) {
|
||||||
|
postService.deletePostList(ids);
|
||||||
|
return success(true);
|
||||||
|
}
|
||||||
|
|
||||||
@GetMapping(value = "/get")
|
@GetMapping(value = "/get")
|
||||||
@Operation(summary = "获得岗位信息")
|
@Operation(summary = "获得岗位信息")
|
||||||
@Parameter(name = "id", description = "岗位编号", required = true, example = "1024")
|
@Parameter(name = "id", description = "岗位编号", required = true, example = "1024")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user