>[warning] 使用前必须引入**UserTrait**片段
use db\traits\sys\UserTrait;
#### getUserOrgs()-获取指定用户的组织机构信息
>[info] getUserOrgs($sysUserId=''){}
### 参数
* sysUserId:系统用户编号
>[success]返回值 array/false
获取数据成功返回数组,失败则返回false。
### error
return false;
### success
说明:返回的数组都以全部转成小写了
```php
return array(
array(
'id' =>'',
'orgid' =>'',
‘orgroleid’ =>'',
'postid' =>'',
'userid' =>'',
.....
),
array(
'id' =>'',
'orgid' =>'',
‘orgroleid’ =>'',
'postid' =>'',
'userid' =>'',
.....
),
.....
)
```
- 空白目录
- 简介
- 前端
- 组件
- 文件上传
- 用户选择
- 组织机构选择
- 角色岗位选择
- 岗位选择
- 用户组选择
- 高拍仪上传
- 公共类库
- 组织机构
- bindToOrg
- bindusertoremote
- getAncestors
- getAllChildIds
- getByOrgId
- getByThirdAppPkId
- getChilds
- getChildsCount
- getMasterOrg
- getOrgUserById
- getOrgUser
- getOrgRoleData
- getOrgRoleQuota
- getOrgRoleUserCount
- getParents
- getPosteritys
- getTreeArray
- getUserOrgs
- getUserOrgCount
- getUserOrgRoleInfo
- hasChild
- hasMasterOrg
- hasBind
- isOrgUser
- updateOrg
- 用户管理
- getAuthorInfo
- getByDuty
- getByGroup
- getByMobile
- getByOrg
- getByUserId
- getByUserName
- getByRole
- getByToken
- getByThirdUserId
- getUserOrgs
- getUserRoles
- getUserList
- 统一待办
- createTodo
- createHandle
- createRead
- removeTodo
- getTodoList
- setReaded