wzq %!s(int64=5) %!d(string=hai) anos
pai
achega
c64a3c82c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Traits/UserTrait.php

+ 1 - 1
app/Traits/UserTrait.php

@@ -33,7 +33,7 @@ trait UserTrait
             $array = [
                 'json' => ['sign' => $sign, 'uid' => $uid, 'follow_uid' => $followUid], 'query' => [], 'http_errors' => false,'headers'=>['Authorization'=>"Bearer ".JWTAuth::getToken()]
             ];
-            return http($url,$array);
+            return http($url,$array,'get');
         } catch (\Exception $e) {
             return [];
         }