1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-03 13:54:37 +00:00

Add list all departments api.

This commit is contained in:
ly1217
2019-05-08 19:28:29 -07:00
parent 0289c20b08
commit 81d9ecfa12
5 changed files with 62 additions and 0 deletions

View File

@@ -299,6 +299,10 @@ class CcnetThreadedRpcClient(RpcClientBase):
def get_groups(self, user_name, return_ancestors):
pass
@searpc_func("objlist", [])
def list_all_departments(self):
pass
@searpc_func("objlist", ["int", "int", "string"])
def get_all_groups(self, start, limit, source):
pass