|
...
|
...
|
@@ -326,7 +326,7 @@ class UpdateSeoTdk extends Command |
|
|
|
*/
|
|
|
|
public function updatePage($project_id){
|
|
|
|
echo date('Y-m-d H:i:s') . ' updatePage: 项目id' . $project_id . PHP_EOL;
|
|
|
|
$list = DB::connection('custom_mysql')->table('gl_web_custom_template')->select(['id','title','keywords','description','project_id'])->where(['project_id'=>$project_id])->get()->toArray();
|
|
|
|
$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();
|
|
|
|
if(!empty($list)){
|
|
|
|
foreach ($list as $v){
|
|
|
|
$v = (array)$v;
|
...
|
...
|
|