正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -326,7 +326,7 @@ class UpdateSeoTdk extends Command | @@ -326,7 +326,7 @@ class UpdateSeoTdk extends Command | ||
| 326 | */ | 326 | */ |
| 327 | public function updatePage($project_id){ | 327 | public function updatePage($project_id){ |
| 328 | echo date('Y-m-d H:i:s') . ' updatePage: 项目id' . $project_id . PHP_EOL; | 328 | echo date('Y-m-d H:i:s') . ' updatePage: 项目id' . $project_id . PHP_EOL; |
| 329 | - $list = DB::connection('custom_mysql')->table('gl_web_custom_template')->select(['id','title','keywords','description','project_id'])->where(['project_id'=>$project_id])->get()->toArray(); | 329 | + $list = DB::connection('custom_mysql')->table('gl_web_custom_template')->select(['id','name','title','keywords','description','project_id'])->where(['project_id'=>$project_id])->get()->toArray(); |
| 330 | if(!empty($list)){ | 330 | if(!empty($list)){ |
| 331 | foreach ($list as $v){ | 331 | foreach ($list as $v){ |
| 332 | $v = (array)$v; | 332 | $v = (array)$v; |
-
请 注册 或 登录 后发表评论