车架重复处理调试8

master
zcstatham 2 years ago
parent 4d47e3eb1c
commit e0c463b2e0
  1. 4
      extend/service/CarInfoHandle.php

@ -305,8 +305,8 @@ class CarInfoHandle
continue;
$sources = $sources->toArray();
$source_a = null;
foreach ($sources as $index => &$source) {
$source['car_phone'] = trim($source['car_phone']);
foreach ($sources as $index => $source) {
$sources[$index]['car_phone'] = trim($source['car_phone']);
if (preg_match('/^1[3-9][0-9]{9}/', $source['car_phone'])) {
$source_a = $source;
unset($sources[$index]);

Loading…
Cancel
Save