作者 lyh

gx

@@ -163,7 +163,7 @@ class UpdateSeoTdk extends Command @@ -163,7 +163,7 @@ class UpdateSeoTdk extends Command
163 $list = DB::connection('custom_mysql')->table($table)->get()->toArray(); 163 $list = DB::connection('custom_mysql')->table($table)->get()->toArray();
164 if (!empty($list)) { 164 if (!empty($list)) {
165 foreach ($list as $v) { 165 foreach ($list as $v) {
166 - echo date('Y-m-d H:i:s') . json_encode($update[$table]['total_page']); 166 + echo '打印数据:'.date('Y-m-d H:i:s') . $update[$table]['total_page'];
167 $update[$table]['total_page']++; 167 $update[$table]['total_page']++;
168 $v = (array)$v; 168 $v = (array)$v;
169 echo date('Y-m-d H:i:s') . '更新--' . $table . ':id' . $v['id'] . PHP_EOL; 169 echo date('Y-m-d H:i:s') . '更新--' . $table . ':id' . $v['id'] . PHP_EOL;