mirror of
https://github.com/v2board/v2board.git
synced 2024-11-15 00:09:13 +08:00
Merge branch 'dev' of https://github.com/v2board/v2board into dev
This commit is contained in:
commit
ce8652fe20
@ -91,6 +91,7 @@ class ClientController extends Controller
|
|||||||
private function quantumultX($user, $vmess = [], $trojan = [])
|
private function quantumultX($user, $vmess = [], $trojan = [])
|
||||||
{
|
{
|
||||||
$uri = '';
|
$uri = '';
|
||||||
|
header("subscription-userinfo: upload={$user->u}; download={$user->d}; total={$user->transfer_enable}; expire={$user->expired_at}");
|
||||||
foreach ($vmess as $item) {
|
foreach ($vmess as $item) {
|
||||||
$uri .= QuantumultX::buildVmess($user->uuid, $item);
|
$uri .= QuantumultX::buildVmess($user->uuid, $item);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user