作者 赵彬吉

update

@@ -165,6 +165,12 @@ class RelayInquiry extends Command @@ -165,6 +165,12 @@ class RelayInquiry extends Command
165 protected $otherzb = [700, 300]; //模拟访问来源占比 (非美国) google.com|google.其他后缀 165 protected $otherzb = [700, 300]; //模拟访问来源占比 (非美国) google.com|google.其他后缀
166 166
167 /** 167 /**
  168 + * 手机号过滤 0去掉+ 1不转发手机 2不处理
  169 + * @var int[]
  170 + */
  171 + protected $filter_phone = [30,12,58];
  172 +
  173 + /**
168 * @return bool 174 * @return bool
169 */ 175 */
170 public function handle() 176 public function handle()
@@ -307,6 +313,14 @@ class RelayInquiry extends Command @@ -307,6 +313,14 @@ class RelayInquiry extends Command
307 } 313 }
308 314
309 foreach ($random_data as $item) { 315 foreach ($random_data as $item) {
  316 + //手机号过滤
  317 + $filter_phone = $this->get_rand($this->filter_phone);
  318 + if($filter_phone == 0){
  319 + $form->phone = trim(str_replace("+", '', $form->phone));
  320 + }elseif($filter_phone == 1){
  321 + $form->phone = '';
  322 + }
  323 +
310 // 推送站点 324 // 推送站点
311 $domain = $item['url']; 325 $domain = $item['url'];
312 $is_v6 = $item['is_v6']; 326 $is_v6 = $item['is_v6'];