|
|
@ -49,6 +49,7 @@ class CarInfoHandle |
|
|
|
$values[$keys_len - 1] = $id; |
|
|
|
$values[$keys_len - 1] = $id; |
|
|
|
return array_combine($keys, $values); |
|
|
|
return array_combine($keys, $values); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
$insert_data['register_date'] = date('Y-m-d', strtotime($insert_data['register_date'])); |
|
|
|
Db::name('car_info_t')->insertAll($insert_data); |
|
|
|
Db::name('car_info_t')->insertAll($insert_data); |
|
|
|
cache('shell_process_' . $id, round(($i + 2000) / $lines * 100, 3), 300); |
|
|
|
cache('shell_process_' . $id, round(($i + 2000) / $lines * 100, 3), 300); |
|
|
|
echo '当前进度:' . round(round(($i + 2000) / $lines * 100, 3)) . PHP_EOL; |
|
|
|
echo '当前进度:' . round(round(($i + 2000) / $lines * 100, 3)) . PHP_EOL; |
|
|
|