mirror of
https://github.com/v2board/v2board.git
synced 2025-04-20 16:42:37 +08:00
update: uniproxy
This commit is contained in:
parent
5c4e863560
commit
fc85fd0606
@ -78,8 +78,8 @@ class UniProxyController extends Controller
|
|||||||
Cache::put(CacheKey::get('SERVER_' . strtoupper($this->nodeType) . '_LAST_PUSH_AT', $this->nodeInfo->id), time(), 3600);
|
Cache::put(CacheKey::get('SERVER_' . strtoupper($this->nodeType) . '_LAST_PUSH_AT', $this->nodeInfo->id), time(), 3600);
|
||||||
$userService = new UserService();
|
$userService = new UserService();
|
||||||
foreach (array_keys($data) as $k) {
|
foreach (array_keys($data) as $k) {
|
||||||
$u = $data[$k]['Upload'];
|
$u = $data[$k][0];
|
||||||
$d = $data[$k]['Download'];
|
$d = $data[$k][1];
|
||||||
$userService->trafficFetch($u, $d, $k, $this->nodeInfo->toArray(), $this->nodeType);
|
$userService->trafficFetch($u, $d, $k, $this->nodeInfo->toArray(), $this->nodeType);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user