作者 lyh

gx

... ... @@ -87,8 +87,9 @@ class Count extends Command
DB::table('gl_count')->insert($data);
}
}catch (\Exception $e){
Log::error('同步数据执行失败');
echo date('Y-m-d H:i:s') . ' error: ' . $v['test_domain'] . '->' . $e->getMessage() . PHP_EOL;
}
echo date('Y-m-d H:i:s') . ' end: ' . $v['test_domain'] . PHP_EOL;
echo $this->error;
}
... ...
... ... @@ -262,7 +262,6 @@ class UpdateSeoTdk extends Command
}
DB::connection('custom_mysql')->table($table)->where(['id' => $v['id']])->update($data);
}
echo '打印数据:'.date('Y-m-d H:i:s') . 222222222 . PHP_EOL;
$update[$table] = json_encode($update[$table]);
}
}
... ...