|
@@ -76,10 +76,11 @@ class ReceiveSmsCc implements Sms
|
|
|
if ($info) {
|
|
if ($info) {
|
|
|
$proxy=Proxy::getData("http_proxy");
|
|
$proxy=Proxy::getData("http_proxy");
|
|
|
$response = Curl::get($info['url'], $proxy);
|
|
$response = Curl::get($info['url'], $proxy);
|
|
|
- if (!$response){
|
|
|
|
|
|
|
+ if (!$response||strpos($response,"This SMS By")!==false){
|
|
|
$proxy_default="myhome.97admin.com:34185";
|
|
$proxy_default="myhome.97admin.com:34185";
|
|
|
$response = Curl::get($info['url'], $proxy_default);
|
|
$response = Curl::get($info['url'], $proxy_default);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
$ql = (new QueryList)->setHtml($response);
|
|
$ql = (new QueryList)->setHtml($response);
|
|
|
$range = ".table-hover";
|
|
$range = ".table-hover";
|
|
|
$rules = [
|
|
$rules = [
|