Ver código fonte

update: uniproxy

tokumeikoi 2 anos atrás
pai
commit
fc85fd0606
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      app/Http/Controllers/Server/UniProxyController.php

+ 2 - 2
app/Http/Controllers/Server/UniProxyController.php

@@ -78,8 +78,8 @@ class UniProxyController extends Controller
         Cache::put(CacheKey::get('SERVER_' . strtoupper($this->nodeType) . '_LAST_PUSH_AT', $this->nodeInfo->id), time(), 3600);
         $userService = new UserService();
         foreach (array_keys($data) as $k) {
-            $u = $data[$k]['Upload'];
-            $d = $data[$k]['Download'];
+            $u = $data[$k][0];
+            $d = $data[$k][1];
             $userService->trafficFetch($u, $d, $k, $this->nodeInfo->toArray(), $this->nodeType);
         }