正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -309,7 +309,7 @@ class UpdateSeoTdk extends Command | @@ -309,7 +309,7 @@ class UpdateSeoTdk extends Command | ||
| 309 | * @time :2023/10/30 11:04 | 309 | * @time :2023/10/30 11:04 |
| 310 | */ | 310 | */ |
| 311 | public function updatePage($project_id){ | 311 | public function updatePage($project_id){ |
| 312 | - $list = DB::connection('custom_mysql')->table('gl_web_custom_template')->select(['title','keywords','description','project_id'])->where(['project_id'=>$project_id])->get()->toArray(); | 312 | + $list = DB::connection('custom_mysql')->table('gl_web_custom_template')->select(['id','title','keywords','description','project_id'])->where(['project_id'=>$project_id])->get()->toArray(); |
| 313 | if(!empty($list)){ | 313 | if(!empty($list)){ |
| 314 | foreach ($list as $v){ | 314 | foreach ($list as $v){ |
| 315 | $v = (array)$v; | 315 | $v = (array)$v; |
-
请 注册 或 登录 后发表评论