Commit da399fb0 authored by 王源's avatar 王源 🎧

添加带领导字符串数组的列表

parent 5fa32d50
...@@ -61,4 +61,16 @@ interface UserServiceInterface ...@@ -61,4 +61,16 @@ interface UserServiceInterface
*/ */
public function getPerms(int $userId, string $appName = null): array; public function getPerms(int $userId, string $appName = null): array;
/**
* 获取带领导字符串数组的列表
* [
* ['id' => -1, 'name' => '总经理'],
* ['id' => -2, 'name' => '直属领导'],
* ['id' => -3, 'name' => '部门领导'],
* [...]
* ]
* @return array
*/
public function allWithLeader(): array;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment