This commit is contained in:
make
2025-05-22 12:06:57 +08:00
parent de07f06a67
commit 3f2fc62242

View File

@@ -77,7 +77,7 @@ class Site extends ZwSite
$strProxyHost = $arrProxy['proxy_host']; $strProxyHost = $arrProxy['proxy_host'];
$strKey = $arrProxy['proxy_key']; $strKey = $arrProxy['proxy_key'];
$strSecret = $arrProxy['proxy_secret']; $strSecret = $arrProxy['proxy_secret'];
switch ($strCode) { switch ($strCode) {
case 'XIONGMAO': case 'XIONGMAO':
$intTime = time(); $intTime = time();
@@ -97,7 +97,13 @@ class Site extends ZwSite
$proxyAuth = base64_encode($strKey . ":" . $strSecret); $proxyAuth = base64_encode($strKey . ":" . $strSecret);
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth; $arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
break; break;
case 'JULIANG':
// 隧道代理信息
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
$arrConfig['proxy'] = $proxy;
break;
} }
} }