正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -87,8 +87,9 @@ class Count extends Command | @@ -87,8 +87,9 @@ class Count extends Command | ||
| 87 | DB::table('gl_count')->insert($data); | 87 | DB::table('gl_count')->insert($data); |
| 88 | } | 88 | } |
| 89 | }catch (\Exception $e){ | 89 | }catch (\Exception $e){ |
| 90 | - Log::error('同步数据执行失败'); | 90 | + echo date('Y-m-d H:i:s') . ' error: ' . $v['test_domain'] . '->' . $e->getMessage() . PHP_EOL; |
| 91 | } | 91 | } |
| 92 | + echo date('Y-m-d H:i:s') . ' end: ' . $v['test_domain'] . PHP_EOL; | ||
| 92 | echo $this->error; | 93 | echo $this->error; |
| 93 | } | 94 | } |
| 94 | 95 |
| @@ -262,7 +262,6 @@ class UpdateSeoTdk extends Command | @@ -262,7 +262,6 @@ class UpdateSeoTdk extends Command | ||
| 262 | } | 262 | } |
| 263 | DB::connection('custom_mysql')->table($table)->where(['id' => $v['id']])->update($data); | 263 | DB::connection('custom_mysql')->table($table)->where(['id' => $v['id']])->update($data); |
| 264 | } | 264 | } |
| 265 | - echo '打印数据:'.date('Y-m-d H:i:s') . 222222222 . PHP_EOL; | ||
| 266 | $update[$table] = json_encode($update[$table]); | 265 | $update[$table] = json_encode($update[$table]); |
| 267 | } | 266 | } |
| 268 | } | 267 | } |
-
请 注册 或 登录 后发表评论