作者 lyh

gx

... ... @@ -309,7 +309,7 @@ class UpdateSeoTdk extends Command
* @time :2023/10/30 11:04
*/
public function updatePage($project_id){
$list = DB::connection('custom_mysql')->table('gl_web_custom_template')->select(['title','keywords','description','project_id'])->where(['project_id'=>$project_id])->get()->toArray();
$list = DB::connection('custom_mysql')->table('gl_web_custom_template')->select(['id','title','keywords','description','project_id'])->where(['project_id'=>$project_id])->get()->toArray();
if(!empty($list)){
foreach ($list as $v){
$v = (array)$v;
... ...