diff --git a/src/XinXiHua/SDK/Services/ContactService.php b/src/XinXiHua/SDK/Services/ContactService.php index d43a69b..08fcd9e 100644 --- a/src/XinXiHua/SDK/Services/ContactService.php +++ b/src/XinXiHua/SDK/Services/ContactService.php @@ -222,7 +222,7 @@ public function authorize(array $ids, array $roleIds) 'role_ids' => $roleIds ]); if ($response->isResponseSuccess()) { - return $response->getResponseData()['data']; + return $response->getResponseData(); } throw new ApiException($response->getResponseMessage());