wzq vor 5 Jahren
Ursprung
Commit
bb59649061
1 geänderte Dateien mit 0 neuen und 14 gelöschten Zeilen
  1. 0 14
      app/Traits/UserTrait.php

+ 0 - 14
app/Traits/UserTrait.php

@@ -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 [];
-        }
-
-    }
 }