>[warning] 使用前必须引入**UserTrait**片段
use db\traits\sys\UserTrait;
#### getByGroup()-按指定用户组获取用户数据
>[info] getByGroup($groupId='',$keyWords=''){}
### 参数
* groupId:用户组编号
* keyWords:关键字
>[success]返回值 array/false
### error
```php
return false;
```
### success
```php
array(
array(
'id' =>1,
'username' =>'admin',
'nickname'=>'管理员',
'avatar' =>'xxx'
....
),
array(
'id' =>2,
'username' =>'zhangsan',
'nickname'=>'张三',
'avatar' =>'xxx'
....
),
.....
)
```
- 空白目录
- 简介
- 前端
- 组件
- 文件上传
- 用户选择
- 组织机构选择
- 角色岗位选择
- 岗位选择
- 用户组选择
- 高拍仪上传
- 公共类库
- 组织机构
- 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