mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
quantumultx: add data plan & exipres notification support
Signed-off-by: Beta Soft <betaxab@gmail.com>
This commit is contained in:
parent
654e46a51e
commit
b0afc290e3
@ -91,6 +91,7 @@ class ClientController extends Controller
|
||||
private function quantumultX($user, $vmess = [], $trojan = [])
|
||||
{
|
||||
$uri = '';
|
||||
header("subscription-userinfo: upload={$user->u}; download={$user->d}; total={$user->transfer_enable}; expire={$user->expired_at}");
|
||||
foreach ($vmess as $item) {
|
||||
$uri .= QuantumultX::buildVmess($user->uuid, $item);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user