新增岗位名称列表接口

This commit is contained in:
阿沐 2024-04-29 19:01:15 +08:00
parent e3aa1dec14
commit bbcdb0f450

View File

@ -88,4 +88,12 @@ public class SysPostController {
return Result.ok();
}
@PostMapping("nameList")
@Operation(summary = "名称列表")
public Result<List<String>> nameList(@RequestBody List<Long> idList) {
List<String> list = sysPostService.getNameList(idList);
return Result.ok(list);
}
}