作者 赵彬吉

update

... ... @@ -165,6 +165,12 @@ class RelayInquiry extends Command
protected $otherzb = [700, 300]; //模拟访问来源占比 (非美国) google.com|google.其他后缀
/**
* 手机号过滤 0去掉+ 1不转发手机 2不处理
* @var int[]
*/
protected $filter_phone = [30,12,58];
/**
* @return bool
*/
public function handle()
... ... @@ -307,6 +313,14 @@ class RelayInquiry extends Command
}
foreach ($random_data as $item) {
//手机号过滤
$filter_phone = $this->get_rand($this->filter_phone);
if($filter_phone == 0){
$form->phone = trim(str_replace("+", '', $form->phone));
}elseif($filter_phone == 1){
$form->phone = '';
}
// 推送站点
$domain = $item['url'];
$is_v6 = $item['is_v6'];
... ...