|
@@ -67,18 +67,4 @@ trait UserTrait
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
- public function getFollowStatus($uid, $followUid) {
|
|
|
- try {
|
|
|
- $sign = generateSign([], config('customer.app_secret'));
|
|
|
- $url = config("customer.app_service_url").'/user/v2/follow/checkStatus';
|
|
|
- $array = [
|
|
|
- 'json' => ['sign' => $sign, 'uid' => $followUid, 'follow_uid' => $uid], 'query' => [], 'http_errors' => false,'headers'=>['Authorization'=>"Bearer ".JWTAuth::getToken()]
|
|
|
- ];
|
|
|
- return http($url,$array,'get');
|
|
|
- } catch (\Exception $e) {
|
|
|
- return [];
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
}
|