正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -44,7 +44,7 @@ $pm->addBatch(10,function (\Swoole\Process\Pool $pool, int $worker_id){ | @@ -44,7 +44,7 @@ $pm->addBatch(10,function (\Swoole\Process\Pool $pool, int $worker_id){ | ||
| 44 | $data = db()->first("select * from lists where `id` = {$id} limit 1;"); | 44 | $data = db()->first("select * from lists where `id` = {$id} limit 1;"); |
| 45 | if($data){ | 45 | if($data){ |
| 46 | try { | 46 | try { |
| 47 | - db()->throw()->insert('lists_hot', $data); | 47 | + db()->throw()->insert('lists_back', $data); |
| 48 | } catch (\Exception $e) { | 48 | } catch (\Exception $e) { |
| 49 | @file_put_contents('lists_to_lists_hot.data.error.log', json_encode($data)."\n", FILE_APPEND); | 49 | @file_put_contents('lists_to_lists_hot.data.error.log', json_encode($data)."\n", FILE_APPEND); |
| 50 | } | 50 | } |
-
请 注册 或 登录 后发表评论