新增岗位名称列表接口
This commit is contained in:
parent
e3aa1dec14
commit
bbcdb0f450
|
@ -88,4 +88,12 @@ public class SysPostController {
|
||||||
|
|
||||||
return Result.ok();
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user