|
...
|
...
|
@@ -43,8 +43,8 @@ class SyncMobile extends Command |
|
|
|
$param = [];
|
|
|
|
$create_time = date('Y-m-d H:i:s');
|
|
|
|
foreach ($data as $v){
|
|
|
|
$param['mobile'] = $v;
|
|
|
|
$param['created_at'] = $create_time;
|
|
|
|
$param[]['mobile'] = $v;
|
|
|
|
$param[]['created_at'] = $create_time;
|
|
|
|
}
|
|
|
|
if(!empty($param)){
|
|
|
|
DB::table('gl_mobile')->insert($param);
|
...
|
...
|
|