Skip to content

Commit

Permalink
增加授权
Browse files Browse the repository at this point in the history
  • Loading branch information
herojhc committed Jul 11, 2019
1 parent d955e40 commit 83a93e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XinXiHua/SDK/Services/ContactService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 83a93e0

Please sign in to comment.