作者 lyh

gx

@@ -256,9 +256,9 @@ class UpdateSeoTdk extends Command @@ -256,9 +256,9 @@ class UpdateSeoTdk extends Command
256 } 256 }
257 $data[$json_field] = json_encode($data[$json_field]); 257 $data[$json_field] = json_encode($data[$json_field]);
258 } 258 }
259 - $update[$table] = json_encode($update[$table]);  
260 DB::connection('custom_mysql')->table($table)->where(['id' => $v['id']])->update($data); 259 DB::connection('custom_mysql')->table($table)->where(['id' => $v['id']])->update($data);
261 } 260 }
  261 + $update[$table] = json_encode($update[$table]);
262 } 262 }
263 } 263 }
264 DB::table('gl_project_update_tdk')->insert($update); 264 DB::table('gl_project_update_tdk')->insert($update);