正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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); |
-
请 注册 或 登录 后发表评论