-
Notifications
You must be signed in to change notification settings - Fork 0
用户管理接口
Dong Chen edited this page Jun 23, 2016
·
2 revisions
cdcchen\wechat\qy\UserClient
$client = new UserClient($accessToken);
Request
cdcchen\wechat\qy\contact\UserAuthSuccessRequest
Client
$data = $client->setUserAuthSuccess($id)
Request
cdcchen\wechat\qy\contact\UserCreateRequest
Client
$data = $client->create(UserCreateRequest $request);
Request
cdcchen\wechat\qy\contact\UserUpdateRequest
Client
$data = $client->update($id, UserUpdateRequest $request);
Request
cdcchen\wechat\qy\contact\UserDeleteRequest
Client
$data = $client->delete($id);
Request
cdcchen\wechat\qy\contact\UserBatchDeleteRequest
Client
$data = $client->batchDelete($users);
Request
cdcchen\wechat\qy\contact\UserInfoRequest
Client
$data = $client->getInfo($id);
Request
cdcchen\wechat\qy\contact\UserSimpleListRequest
Client
$data = $client->getSimpleList($departmentId, $status = null, $fetchChild = false);
Request
cdcchen\wechat\qy\contact\UserDetailListRequest
Client
$data = $client->getDetailList($departmentId, $status = null, $fetchChild = false);