| xqd
@@ -45,7 +45,8 @@ class ChatController extends Controller
|
|
|
try {
|
|
|
$user = auth('api')->user();
|
|
|
$tencent_friend =new TencentImFriendService();
|
|
|
- $res = $tencent_friend->friendGet($user->tencent_im_user_id,$request->page);
|
|
|
+
|
|
|
+ $res = $tencent_friend->friendGet($user->tencent_im_user_id,($request->page-1)*10);
|
|
|
|
|
|
}catch (\Exception $exception){
|
|
|
return $this->response->errorForbidden($exception->getMessage());
|