作者 lyh

gx

@@ -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;