debug-add-daili

This commit is contained in:
make
2025-05-22 12:52:19 +08:00
parent 3f2fc62242
commit 979652efce
6 changed files with 66 additions and 0 deletions

View File

@@ -100,6 +100,17 @@ class Site
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC; $arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret"; $arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
break; break;
case 'QING':
$arrConfig['proxy'] = $strProxyHost;
$proxyAuth = base64_encode($strKey . ":" . $strSecret);
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
break;
case 'JULIANG':
// 隧道代理信息
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
$arrConfig['proxy'] = $proxy;
break;
} }
} }

View File

@@ -100,6 +100,17 @@ class Site
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC; $arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret"; $arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
break; break;
case 'QING':
$arrConfig['proxy'] = $strProxyHost;
$proxyAuth = base64_encode($strKey . ":" . $strSecret);
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
break;
case 'JULIANG':
// 隧道代理信息
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
$arrConfig['proxy'] = $proxy;
break;
} }
} }

View File

@@ -108,6 +108,17 @@ class Site
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC; $arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret"; $arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
break; break;
case 'QING':
$arrConfig['proxy'] = $strProxyHost;
$proxyAuth = base64_encode($strKey . ":" . $strSecret);
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
break;
case 'JULIANG':
// 隧道代理信息
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
$arrConfig['proxy'] = $proxy;
break;
} }
} }

View File

@@ -100,6 +100,17 @@ class Site
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC; $arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret"; $arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
break; break;
case 'QING':
$arrConfig['proxy'] = $strProxyHost;
$proxyAuth = base64_encode($strKey . ":" . $strSecret);
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
break;
case 'JULIANG':
// 隧道代理信息
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
$arrConfig['proxy'] = $proxy;
break;
} }
} }

View File

@@ -108,6 +108,17 @@ class Site
$arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC; $arrConfig['curl'][CURLOPT_PROXYAUTH] = CURLAUTH_BASIC;
$arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret"; $arrConfig['curl'][CURLOPT_PROXYUSERPWD] = "$strKey:$strSecret";
break; break;
case 'QING':
$arrConfig['proxy'] = $strProxyHost;
$proxyAuth = base64_encode($strKey . ":" . $strSecret);
$arrConfig['headers']['Proxy-Authorization'] = "Basic " . $proxyAuth;
break;
case 'JULIANG':
// 隧道代理信息
// $proxy = 'http://username:password@XXX.juliangip.com:23456';
$proxy = "http://".$strKey . ":" . $strSecret. "@".$strProxyHost;
$arrConfig['proxy'] = $proxy;
break;
} }
} }

View File

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