作者 lyh

gx

@@ -488,7 +488,12 @@ class OptimizeController extends BaseController @@ -488,7 +488,12 @@ class OptimizeController extends BaseController
488 $this->fail('请先设置域名'); 488 $this->fail('请先设置域名');
489 } 489 }
490 $domain = 'https://' . $domainInfo['domain'] . '/'; 490 $domain = 'https://' . $domainInfo['domain'] . '/';
491 - $data = []; 491 + $data = [
  492 + 'ai_blog' => [],
  493 + 'product' => [],
  494 + 'product_category'=>[],
  495 + 'product_keyword' => [],
  496 + ];
492 ProjectServer::useProject($this->param['project_id']); 497 ProjectServer::useProject($this->param['project_id']);
493 $productModel = new Product(); 498 $productModel = new Product();
494 $this->processChunkedList($productModel, ['status' => $productModel::STATUS_ON], ['id', 'title', 'route'], $domain, $data, 'product'); 499 $this->processChunkedList($productModel, ['status' => $productModel::STATUS_ON], ['id', 'title', 'route'], $domain, $data, 'product');