正在显示
1 个修改的文件
包含
6 行增加
和
1 行删除
| @@ -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'); |
-
请 注册 或 登录 后发表评论