正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
| @@ -314,17 +314,17 @@ class PrivateController extends BaseController | @@ -314,17 +314,17 @@ class PrivateController extends BaseController | ||
| 314 | ProjectServer::useProject($project->id); | 314 | ProjectServer::useProject($project->id); |
| 315 | $result = []; | 315 | $result = []; |
| 316 | // 查询有效时间后 有效的产品、新闻、博客、聚合页 链接 | 316 | // 查询有效时间后 有效的产品、新闻、博客、聚合页 链接 |
| 317 | - $product = Product::where(['status' => Product::STATUS_ON])->where('created_at', '>=', $date)->pluck('route'); | 317 | +// $product = Product::where(['status' => Product::STATUS_ON])->where('created_at', '>=', $date)->pluck('route'); |
| 318 | $news = News::where(['status' => News::STATUS_ONE])->where('release_at', '>', $date)->pluck('url'); | 318 | $news = News::where(['status' => News::STATUS_ONE])->where('release_at', '>', $date)->pluck('url'); |
| 319 | $blog = Blog::where(['status' => Blog::STATUS_ONE])->where('release_at', '>', $date)->pluck('url'); | 319 | $blog = Blog::where(['status' => Blog::STATUS_ONE])->where('release_at', '>', $date)->pluck('url'); |
| 320 | // $keyword = Keyword::where('created_at', '>', $date)->pluck('route'); | 320 | // $keyword = Keyword::where('created_at', '>', $date)->pluck('route'); |
| 321 | $ai_blog = AiBlog::where(['status' => AiBlog::STATUS_FINISH])->where('updated_at', '>=', $date)->pluck('route'); | 321 | $ai_blog = AiBlog::where(['status' => AiBlog::STATUS_FINISH])->where('updated_at', '>=', $date)->pluck('route'); |
| 322 | 322 | ||
| 323 | // 组装链接 | 323 | // 组装链接 |
| 324 | - foreach ($product as $item) { | ||
| 325 | - $url = 'https://' . $domain . '/' . $item; | ||
| 326 | - array_push($result, $url); | ||
| 327 | - } | 324 | +// foreach ($product as $item) { |
| 325 | +// $url = 'https://' . $domain . '/' . $item; | ||
| 326 | +// array_push($result, $url); | ||
| 327 | +// } | ||
| 328 | // foreach ($keyword as $item) { | 328 | // foreach ($keyword as $item) { |
| 329 | // $url = 'https://' . $domain . '/' . $item; | 329 | // $url = 'https://' . $domain . '/' . $item; |
| 330 | // array_push($result, $url); | 330 | // array_push($result, $url); |
-
请 注册 或 登录 后发表评论