Merge pull request #37 from GeekQu/dev

兼容后端改变以及小火箭的独立订阅
no_ymq_dev
Rico 8 years ago committed by GitHub
commit f5b8887457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ class RelayController extends AdminController
foreach ($dist_nodes as $node) {
if ($node->sort == 11 || $node->sort == 12) {
$node_explode = Tools::ssv2Array($node->server);
$node_explode = Tools::v2Array($node->server);
$node->name = $node->name . ' 如果是V2ray后端 请设置成 ' . $node_explode['port'];
} else {
$node->name .= ' 如果是V2ray后端 请不要设置,用户页面设置 ';
@ -163,7 +163,7 @@ class RelayController extends AdminController
foreach ($dist_nodes as $node) {
if ($node->sort == 11 || $node->sort == 12) {
$node_explode = Tools::ssv2Array($node->server);
$node_explode = Tools::v2Array($node->server);
$node->name = $node->name . ' 如果是V2ray后端 请设置成' . $node_explode['port'];
} else {
$node->name .= ' 如果是V2ray后端 请不要设置,用户页面设置 ';

@ -177,59 +177,51 @@ class HomeController extends BaseController
case 'surge':
$msg = '// Surge Version 2.x' .
PHP_EOL .
'订阅链接:' .
'托管配置链接:' .
$subInfo['surge2'] .
'// Surge Version 3.x' .
PHP_EOL .
'订阅链接:' .
'托管配置链接:' .
$subInfo['surge3'];
break;
case 'kitsunebi':
$msg = '// v2ray 订阅' .
PHP_EOL .
'订阅链接' .
'订阅链接:' .
$subInfo['v2ray'] .
'// 合并订阅,包含 ss、v2ray' .
PHP_EOL .
'订阅链接' . $subInfo['v2ray_ss'];
'订阅链接:' . $subInfo['v2ray_ss'];
break;
case 'surfboard':
$msg = '订阅链接' . $subInfo['surfboard'];
$msg = '订阅链接:' . $subInfo['surfboard'];
break;
case 'quantumult_sub':
// Quantumult V2ray 专属格式
$msg = '// ssr 订阅' .
PHP_EOL .
'订阅链接' .
'订阅链接:' .
$subInfo['ssr'] .
'// V2ray 订阅' .
PHP_EOL .
'订阅链接' .
'订阅链接:' .
$subInfo['quantumult_v2'];
break;
case 'quantumult_conf':
$msg = '// 导入 ss、ssr、v2ray 以及分流规则的配置' .
PHP_EOL .
'订阅链接' .
'配置链接:' .
$subInfo['quantumult_sub'] .
'// 使用自定义策略组的配置,类似 Surge、Clash' .
PHP_EOL .
'订阅链接' .
'配置链接:' .
$subInfo['quantumult_conf'];
break;
case 'shadowrocket':
$msg = '// ssr 订阅' .
$msg = '// 合并订阅,包含 ss、ssr、v2ray' .
PHP_EOL .
'订阅链接' .
$subInfo['ssr'] .
'// v2ray 订阅' .
PHP_EOL .
'订阅链接' .
$subInfo['v2ray'] .
'// 合并订阅,包含 ss、ssr、v2ray' .
PHP_EOL .
'订阅链接' .
$subInfo['v2ray_ss_ssr'];
'订阅链接:' .
$subInfo['shadowrocket'];
break;
default:
$msg = '获取失败了呢...,请联系管理员。';

@ -77,6 +77,7 @@ class LinkController extends BaseController
$surge = isset($request->getQueryParams()['surge']) ? (int)$request->getQueryParams()['surge'] : 0;
$quantumult = isset($request->getQueryParams()['quantumult']) ? (int)$request->getQueryParams()['quantumult'] : 0;
$surfboard = isset($request->getQueryParams()['surfboard']) ? (int)$request->getQueryParams()['surfboard'] : 0;
$shadowrocket = isset($request->getQueryParams()['shadowrocket']) ? (int)$request->getQueryParams()['shadowrocket'] : 0;
if (isset($request->getQueryParams()['mu'])) {
$mu = (int)$request->getQueryParams()['mu'];
@ -135,6 +136,12 @@ class LinkController extends BaseController
->withHeader('Cache-Control', 'no-store, no-cache, must-revalidate')
->withHeader('Content-Disposition', ' attachment; filename=SSD.txt');
$newResponse->getBody()->write(self::GetSSD($user));
} elseif ($shadowrocket == 1) {
$newResponse = $response
->withHeader('Content-type', ' application/octet-stream; charset=utf-8')
->withHeader('Cache-Control', 'no-store, no-cache, must-revalidate')
->withHeader('Content-Disposition', ' attachment; filename=Shadowrocket.txt');
$newResponse->getBody()->write(self::getShadowrocket($user, $opts));
} else {
$newResponse = $response
->withHeader('Content-type', ' application/octet-stream; charset=utf-8')
@ -172,6 +179,7 @@ class LinkController extends BaseController
'quantumult_v2' => $userapiUrl . '?quantumult=1',
'quantumult_sub' => $userapiUrl . '?quantumult=2',
'quantumult_conf' => $userapiUrl . '?quantumult=3',
'shadowrocket' => $userapiUrl . '?shadowrocket=1'
];
return $return_info;
}
@ -375,7 +383,7 @@ class LinkController extends BaseController
if (strpos($item['obfs_param'], 'security=tls')) {
$sss['plugin-opts']['tls'] = true;
}
$sss['plugin-opts']['host'] = $user->getMuMd5();
$sss['plugin-opts']['host'] = $item['host'];
$sss['plugin-opts']['path'] = $item['path'];
$sss['plugin-opts']['skip-cert-verify'] = true;
break;
@ -383,10 +391,8 @@ class LinkController extends BaseController
if ($item['obfs'] != 'v2ray') {
if ($item['obfs_param'] != '') {
$sss['plugin-opts']['host'] = $item['obfs_param'];
} elseif ($user->obfs_param != '') {
$sss['plugin-opts']['host'] = $user->obfs_param;
} else {
$sss['plugin-opts']['host'] = 'wns.windows.com';
$sss['plugin-opts']['host'] = 'windowsupdate.windows.com';
}
}
}
@ -484,38 +490,124 @@ class LinkController extends BaseController
return URL::getAllSSDUrl($user);
}
public static function getShadowrocket($user, $opts)
{
$return = '';
if (strtotime($user->expire_in) > time()) {
if ($user->transfer_enable == 0) {
$tmp = '剩余流量:0';
} else {
$tmp = '剩余流量:' . $user->unusedTraffic();
}
$tmp .= ' - 过期时间:';
if ($user->class_expire != '1989-06-04 00:05:00') {
$userClassExpire = explode(' ', $user->class_expire);
$tmp .= $userClassExpire[0];
} else {
$tmp .= '无限期';
}
} else {
$tmp = '账户已过期,请续费后使用';
}
$return .= ('STATUS=' . $tmp . PHP_EOL . 'REMARKS=' . Config::get('appName') . PHP_EOL);
// v2ray
$items = URL::getAllVMessUrl($user, 1);
foreach ($items as $item) {
if ($item['net'] == 'kcp') {
continue;
}
if ($item['net'] == 'ws') {
$obfs = (
$item['host'] != ''
? ('obfsParam=' . $item['host'] .
'&path=' . $item['path'] . '&obfs=websocket&'
)
: ('obfsParam=' . $item['add'] .
'&path=' . $item['path'] . '&obfs=websocket&'
)
);
$obfs .= (
$item['tls'] == 'tls'
? 'tls=1'
: 'tls=0'
);
} else {
$obfs = 'obfs=none';
}
$return .= ('vmess://' . Tools::base64_url_encode(
'chacha20-poly1305:' . $item['id'] .
'@' . $item['add'] . ':' . $item['port']
) . '?remarks=' . rawurlencode($item['ps']) .
'&' . $obfs . PHP_EOL
);
}
// ss
$items = array_merge(
URL::getAllItems($user, 0, 1),
URL::getAllItems($user, 1, 1)
);
foreach ($items as $item) {
if ($item['obfs'] == 'v2ray') {
$v2rayplugin = [
'address' => $item['address'],
'port' => (string)$item['port'],
'path' => $item['path'],
'host' => $item['host'],
'mode' => 'websocket',
];
$v2rayplugin['tls'] = $item['tls'] == 'tls' ? true : false;
$return .= ('ss://' . Tools::base64_url_encode(
$item['method'] . ':' . $item['passwd'] .
'@' . $item['address'] . ':' . $item['port']
) . '?v2ray-plugin=' . Tools::base64_url_encode(
json_encode($v2rayplugin)
) . '#' . rawurlencode($item['remark']) . PHP_EOL
);
} elseif (in_array($item['obfs'], ['simple_obfs_http', 'simple_obfs_tls'])) {
$obfs = (
$item['method'] == 'simple_obfs_http'
? 'obfs=http;'
: 'obfs=tls;'
);
$obfs .= (
$item['obfs_param'] != ''
? ('obfs-host=' . $item['obfs_param'] . ';')
: 'obfs-host=windowsupdate.windows.com;'
);
$return .= ('ss://' . Tools::base64_url_encode(
$item['method'] . ':' . $item['passwd']
) . '@' . $item['address'] . ':' . $item['port'] .
'?plugin=simple-obfs;' . $obfs .
'obfs-uri=/#' . rawurlencode(
Config::get('appName') . ' - ' . $item['remark']
) . PHP_EOL
);
} elseif ($item['obfs'] == 'plain') {
$return .= (URL::getItemUrl($item, 2) . PHP_EOL);
}
}
// ssr
$return .= URL::getAllUrl($user, 0, 0, 0) . PHP_EOL;
return Tools::base64_url_encode($return);
}
public static function GetSub($user, $sub, $opts)
{
$extend = isset($opts['extend']) ? $opts['extend'] : 0;
$getV2rayPlugin = 1;
$return_url = '';
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Shadowrocket') !== false) {
if (strtotime($user->expire_in) > time()) {
if ($user->transfer_enable == 0) {
$tmp = '剩余流量:0';
} else {
$tmp = '剩余流量:' . $user->unusedTraffic();
}
$tmp .= ' - 过期时间:';
if ($user->class_expire != '1989-06-04 00:05:00') {
$userClassExpire = explode(' ', $user->class_expire);
$tmp .= $userClassExpire[0];
} else {
$tmp .= '无限期';
}
} else {
$tmp = '账户已过期,请续费后使用';
}
$return_url .= ('STATUS=' . $tmp . PHP_EOL . 'REMARKS=' . Config::get('appName') . PHP_EOL);
$extend = 0;
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Kitsunebi') !== false) {
$getV2rayPlugin = 0;
}
switch ($sub) {
case 1: // SSR
$return_url .= $extend == 0 ? '' : URL::getUserTraffic($user, 1) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 0) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 0, $getV2rayPlugin) . PHP_EOL;
break;
case 2: // SS
$return_url .= $extend == 0 ? '' : URL::getUserTraffic($user, 2) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 1) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 1, $getV2rayPlugin) . PHP_EOL;
break;
case 3: // V2
$return_url .= $extend == 0 ? '' : URL::getUserTraffic($user, 3) . PHP_EOL;
@ -524,13 +616,13 @@ class LinkController extends BaseController
case 4: // V2 + SS
$return_url .= $extend == 0 ? '' : URL::getUserTraffic($user, 3) . PHP_EOL;
$return_url .= URL::getAllVMessUrl($user) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 1) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 1, $getV2rayPlugin) . PHP_EOL;
break;
case 5: // V2 + SS + SSR
$return_url .= $extend == 0 ? '' : URL::getUserTraffic($user, 1) . PHP_EOL;
$return_url .= URL::getAllVMessUrl($user) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 0) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 1) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 0, $getV2rayPlugin) . PHP_EOL;
$return_url .= URL::getAllUrl($user, 0, 1, $getV2rayPlugin) . PHP_EOL;
break;
}
return Tools::base64_url_encode($return_url);

@ -166,7 +166,7 @@ class RelayController extends UserController
foreach ($dist_nodes as $node) {
if ($node->sort == 11 || $node->sort == 12) {
$node_explode = Tools::ssv2Array($node->server);
$node_explode = Tools::v2Array($node->server);
$ports[] = $node_explode['port'];
$node->name = $node->name . ' 如果是V2ray后端 请设置成 ' . $node_explode['port'];
} else {
@ -249,7 +249,7 @@ class RelayController extends UserController
)->where('type', 1)->where('sort', 9)->where('node_class', '<=', $user->class)->first();
$v2ray_port_raw = '';
if ($dist_node->sort == 12 || $dist_node->sort == 11) {
$node_explode = Tools::ssv2Array($dist_node->server);
$node_explode = Tools::v2Array($dist_node->server);
$v2ray_port_raw = $node_explode['port'];
}
if (($port_raw == null && $port != $user->port && $v2ray_port_raw == '') || ($v2ray_port_raw != '' && ($port != $user->port && $port != $v2ray_port_raw))) {
@ -355,7 +355,7 @@ class RelayController extends UserController
}
foreach ($dist_nodes as $node) {
if ($node->sort == 11 || $node->sort == 12) {
$node_explode = Tools::ssv2Array($node->server);
$node_explode = Tools::v2Array($node->server);
$ports[] = $node_explode['port'];
$node->name = $node->name . ' 如果是V2ray后端 请设置成: ' . $node_explode['port'];
} else {
@ -435,7 +435,7 @@ class RelayController extends UserController
)->where('type', 1)->where('sort', 9)->where('node_class', '<=', $user->class)->first();
$v2ray_port_raw = '';
if ($dist_node->sort == 12 || $dist_node->sort == 11) {
$node_explode = Tools::ssv2Array($dist_node->server);
$node_explode = Tools::v2Array($dist_node->server);
$v2ray_port_raw = $node_explode['port'];
}
if (($port_raw == null && $port != $user->port && $v2ray_port_raw == '') || ($v2ray_port_raw != '' && ($port != $user->port && $port != $v2ray_port_raw))) {

@ -497,7 +497,7 @@ class Tools
{
$server = explode(';', $node);
$item = [
'host' => '',
'host' => 'windowsupdate.microsoft.com',
'path' => '',
'net' => 'ws',
'tls' => ''

@ -138,30 +138,49 @@ class URL
return $new_user;
}
public static function getAllItems($user, $is_mu = 0, $is_ss = 0)
{
public static function getAllItems(
$user, $is_mu = 0, $is_ss = 0, $getV2rayPlugin = 1
) {
$return_array = array();
if ($user->is_admin) {
$nodes = Node::where(
static function ($query) {
$query->where('sort', 0)
->orwhere('sort', 10)
->orwhere('sort', 13);
static function ($query) use ($getV2rayPlugin) {
if ($getV2rayPlugin) {
$query->where('sort', 0)
->orwhere('sort', 10)
->orwhere('sort', 13);
} else {
$query->where('sort', 0)
->orwhere('sort', 10);
}
}
)->where('type', '1')->orderBy('name')->get();
)
->where('type', '1')
->orderBy('name')
->get();
} else {
$nodes = Node::where(
static function ($query) {
$query->where('sort', 0)
->orwhere('sort', 10)
->orwhere('sort', 13);
static function ($query) use ($getV2rayPlugin) {
if ($getV2rayPlugin) {
$query->where('sort', 0)
->orwhere('sort', 10)
->orwhere('sort', 13);
} else {
$query->where('sort', 0)
->orwhere('sort', 10);
}
}
)->where(
)
->where(
static function ($query) use ($user) {
$query->where('node_group', '=', $user->node_group)
->orWhere('node_group', '=', 0);
}
)->where('type', '1')->where('node_class', '<=', $user->class)->orderBy('name')->get();
)
->where('type', '1')
->where('node_class', '<=', $user->class)
->orderBy('name')
->get();
}
if ($is_mu) {
if ($user->is_admin) {
@ -233,20 +252,20 @@ class URL
return $return_array;
}
public static function getAllUrl($user, $is_mu, $is_ss = 0)
public static function getAllUrl($user, $is_mu, $is_ss = 0, $getV2rayPlugin = 1)
{
$return_url = '';
if (strtotime($user->expire_in) < time()) {
return $return_url;
}
$items = self::getAllItems($user, $is_mu, $is_ss);
$items = self::getAllItems($user, $is_mu, $is_ss, $getV2rayPlugin);
foreach ($items as $item) {
$return_url .= self::getItemUrl($item, $is_ss) . PHP_EOL;
}
$is_mu = $is_mu == 0 ? 1 : 0;
$items = self::getAllItems($user, $is_mu, $is_ss);
$items = self::getAllItems($user, $is_mu, $is_ss, $getV2rayPlugin);
foreach ($items as $item) {
$return_url .= URL::getItemUrl($item, $is_ss) . PHP_EOL;
$return_url .= self::getItemUrl($item, $is_ss) . PHP_EOL;
}
return $return_url;
@ -256,7 +275,19 @@ class URL
{
$ss_obfs_list = Config::getSupportParam('ss_obfs');
if (!$is_ss) {
$ssurl = $item['address'] . ':' . $item['port'] . ':' . $item['protocol'] . ':' . $item['method'] . ':' . $item['obfs'] . ':' . Tools::base64_url_encode($item['passwd']) . '/?obfsparam=' . Tools::base64_url_encode($item['obfs_param']) . '&protoparam=' . Tools::base64_url_encode($item['protocol_param']) . '&remarks=' . Tools::base64_url_encode($item['remark']) . '&group=' . Tools::base64_url_encode($item['group']);
$ssurl = $item['address'] . ':' . $item['port'] . ':' . $item['protocol'] .
':' . $item['method'] . ':' . $item['obfs'] . ':' .
Tools::base64_url_encode(
$item['passwd']
) . '/?obfsparam=' . Tools::base64_url_encode(
$item['obfs_param']
) . '&protoparam=' . Tools::base64_url_encode(
$item['protocol_param']
) . '&remarks=' . Tools::base64_url_encode(
$item['remark']
) . '&group=' . Tools::base64_url_encode(
$item['group']
);
return 'ssr://' . Tools::base64_url_encode($ssurl);
}
@ -281,7 +312,9 @@ class URL
}
$ssurl .= '?plugin=' . rawurlencode($plugin);
}
$ssurl .= '#' . rawurlencode(Config::get('appName') . ' - ' . $item['remark']);
$ssurl .= '#' . rawurlencode(
Config::get('appName') . ' - ' . $item['remark']
);
}
return $ssurl;
}
@ -294,7 +327,9 @@ class URL
$item['id'] = $user->getUuid();
$item['class'] = $node->node_class;
if ($arrout == 0) {
return 'vmess://' . base64_encode(json_encode($item, JSON_UNESCAPED_UNICODE));
return 'vmess://' . base64_encode(
json_encode($item, 320)
);
}
return $item;
@ -308,7 +343,10 @@ class URL
$query->where('sort', 11)
->orwhere('sort', 12);
}
)->where('type', '1')->orderBy('name')->get();
)
->where('type', '1')
->orderBy('name')
->get();
} else {
$nodes = Node::where(
static function ($query) {
@ -320,7 +358,11 @@ class URL
$query->where('node_group', '=', $user->node_group)
->orWhere('node_group', '=', 0);
}
)->where('type', '1')->where('node_class', '<=', $user->class)->orderBy('name')->get();
)
->where('type', '1')
->where('node_class', '<=', $user->class)
->orderBy('name')
->get();
}
if ($arrout == 0) {
$result = '';
@ -365,18 +407,28 @@ class URL
}
}
$nodes_muport = Node::where('type', 1)->where('sort', '=', 9)->orderBy('name')->get();
$nodes_muport = Node::where('type', 1)
->where('sort', '=', 9)
->orderBy('name')
->get();
$array_server = array();
$nodes = Node::where('type', 1)->where('node_class', '<=', $user->class)
->where(static function ($func) {
$func->where('sort', '=', 0)
->orwhere('sort', '=', 10)
->orwhere('sort', '=', 13);
})
->where(static function ($func) use ($user) {
$func->where('node_group', '=', $user->node_group)
->orwhere('node_group', '=', 0);
})->orderBy('name')->get();
$nodes = Node::where('type', 1)
->where('node_class', '<=', $user->class)
->where(
static function ($func) {
$func->where('sort', '=', 0)
->orwhere('sort', '=', 10)
->orwhere('sort', '=', 13);
}
)
->where(
static function ($func) use ($user) {
$func->where('node_group', '=', $user->node_group)
->orwhere('node_group', '=', 0);
}
)
->orderBy('name')
->get();
$server_index = 1;
foreach ($nodes as $node) {
$server = array();
@ -384,18 +436,26 @@ class URL
if (self::CanMethodConnect($user->method) != 2) {
continue;
}
$ssv2Array = Tools::ssv2Array($node->server);
$server['server'] = $ssv2Array['add'];
$server = Tools::ssv2Array($node->server);
$server['server'] = $server['add'];
$server['id'] = $server_index;
$server['remarks'] = $node->name . ' - 单多' . $ssv2Array['port'] . '端口';
$server['port'] = $ssv2Array['port'];
$server['remarks'] = $node->name . ' - 单多' . $server['port'] . '端口';
$server['encryption'] = $user->method;
$server['password'] = $user->passwd;
$server['plugin'] = 'v2ray';
if ($ssv2Array['tls'] == 'tls' && $ssv2Array['net'] == 'ws') {
$server['plugin_options'] = 'mode=ws;security=tls;path=' . $ssv2Array['path'] . ';host=' . $user->getMuMd5();
$server['path'] = (
$server['path'] . '?redirect=' . $user->getMuMd5()
);
if ($server['tls'] == 'tls' && $server['net'] == 'ws') {
$server['obfs_param'] = (
'mode=ws;security=tls;path=' . $server['path'] .
';host=' . $return_array['host']
);
} else {
$server['plugin_options'] = 'mode=ws;security=none;path=' . $ssv2Array['path'] . ';host=' . $user->getMuMd5();
$server['obfs_param'] = (
'mode=ws;security=none;path=' . $server['path'] .
';host=' . $return_array['host']
);
}
$array_server[] = $server;
$server_index++;
@ -550,17 +610,24 @@ class URL
$user = self::getSSRConnectInfo($user);
}
if ($node->sort == 13) {
$server = Tools::ssv2Array($node->server);
$return_array['address'] = $server['add'];
$return_array['port'] = $server['port'];
$return_array = Tools::ssv2Array($node->server);
$return_array['address'] = $return_array['add'];
$return_array['protocol'] = 'origin';
$return_array['protocol_param'] = '';
$return_array['path'] = $server['path'];
$return_array['obfs'] = 'v2ray';
if ($server['tls'] == 'tls' && $server['net'] == 'ws') {
$return_array['obfs_param'] = 'mode=ws;security=tls;path=' . $server['path'] . ';host=' . $user->getMuMd5();
$return_array['path'] = (
$return_array['path'] . '?redirect=' . $user->getMuMd5()
);
if ($return_array['tls'] == 'tls' && $return_array['net'] == 'ws') {
$return_array['obfs_param'] = (
'mode=ws;security=tls;path=' . $return_array['path'] .
';host=' . $return_array['host']
);
} else {
$return_array['obfs_param'] = 'mode=ws;security=none;path=' . $server['path'] . ';host=' . $user->getMuMd5();
$return_array['obfs_param'] = (
'mode=ws;security=none;path=' . $return_array['path'] .
';host=' . $return_array['host']
);
}
} else {
$return_array['address'] = $node->server;

@ -312,7 +312,7 @@
<hr/>
<p><span class="icon icon-lg text-white">filter_4</span> <a class="btn-dl" href="https://itunes.apple.com/us/app/shadowrocket/id932747118?mt=8"><i class="material-icons">save_alt</i> GET</a> Shadowrocket - [ SS/SSR/VMess ]:</p>
<p>教程文档:<a class="btn-dl" href="/doc/#/iOS/Shadowrocket"><i class="material-icons icon-sm">how_to_vote</i>点击查看</a></p>
<p>使用方式:<a class="btn-dl" onclick=AddSub("{$subInfo["v2ray"]}","sub://")><i class="material-icons icon-sm">how_to_vote</i>V2 订阅</a>.<a class="btn-dl" onclick=AddSub("{$subInfo["ssr"]}","sub://")><i class="material-icons icon-sm">how_to_vote</i>SSR 订阅</a>.<a class="btn-dl" onclick=AddSub("{$subInfo["v2ray_ss_ssr"]}","sub://")><i class="material-icons icon-sm">how_to_vote</i>SS(R) + V2 订阅</a></p>
<p>使用方式:<a class="btn-dl" onclick=AddSub("{$subInfo["shadowrocket"]}","sub://")><i class="material-icons icon-sm">how_to_vote</i>SS(R) + V2 混合订阅</a></p>
</div>
<div class="tab-pane fade" id="sub_center_android">

Loading…
Cancel
Save