作者 lyh

gx

... ... @@ -256,9 +256,9 @@ class UpdateSeoTdk extends Command
}
$data[$json_field] = json_encode($data[$json_field]);
}
$update[$table] = json_encode($update[$table]);
DB::connection('custom_mysql')->table($table)->where(['id' => $v['id']])->update($data);
}
$update[$table] = json_encode($update[$table]);
}
}
DB::table('gl_project_update_tdk')->insert($update);
... ...