|
...
|
...
|
@@ -314,17 +314,17 @@ class PrivateController extends BaseController |
|
|
|
$product = Product::where(['status' => Product::STATUS_ON])->where('created_at', '>=', $date)->pluck('route');
|
|
|
|
$news = News::where(['status' => News::STATUS_ONE])->where('release_at', '>', $date)->pluck('url');
|
|
|
|
$blog = Blog::where(['status' => Blog::STATUS_ONE])->where('release_at', '>', $date)->pluck('url');
|
|
|
|
$keyword = Keyword::where('created_at', '>', $date)->pluck('route');
|
|
|
|
// $keyword = Keyword::where('created_at', '>', $date)->pluck('route');
|
|
|
|
|
|
|
|
// 组装链接
|
|
|
|
foreach ($product as $item) {
|
|
|
|
$url = 'https://' . $domain . '/' . $item;
|
|
|
|
array_push($result, $url);
|
|
|
|
}
|
|
|
|
foreach ($keyword as $item) {
|
|
|
|
$url = 'https://' . $domain . '/' . $item;
|
|
|
|
array_push($result, $url);
|
|
|
|
}
|
|
|
|
// foreach ($keyword as $item) {
|
|
|
|
// $url = 'https://' . $domain . '/' . $item;
|
|
|
|
// array_push($result, $url);
|
|
|
|
// }
|
|
|
|
foreach ($news as $item) {
|
|
|
|
$url = 'https://' . $domain . '/news/' . $item;
|
|
|
|
array_push($result, $url);
|
...
|
...
|
|