This commit is contained in:
NULL
2025-05-27 11:57:16 +08:00
parent 50d7df3869
commit b392a65948
15 changed files with 223 additions and 53 deletions

View File

@@ -94,14 +94,14 @@ class Site extends ZwSite
break;
case 'QING':
$arrConfig['proxy'] = $strProxyHost;
$proxyAuth = base64_encode($strKey . ":" . $strSecret);
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
$strProxyAuth = base64_encode($strKey . ":" . $strSecret);
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $strProxyAuth;
break;
case 'JULIANG':
// 隧道代理信息
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
$arrConfig['proxy'] = $proxy;
// $strProxy = 'http://username:password@XXX.juliangip.com:23456';
$strProxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
$arrConfig['proxy'] = $strProxy;
break;
}