mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
优化站点地图;
This commit is contained in:
@@ -26,7 +26,7 @@ class Sitemap
|
|||||||
|
|
||||||
$urlset_page_post->add($index_url);
|
$urlset_page_post->add($index_url);
|
||||||
|
|
||||||
$list_post = Post::cache(60)->where('status', 1)->whereIn('tpl_name', [''])->select();
|
$list_post = Post::cache(60)->where('status', 1)->select();
|
||||||
|
|
||||||
foreach ($list_post as $model_post) {
|
foreach ($list_post as $model_post) {
|
||||||
$url_post = new Url($model_post->read_url);
|
$url_post = new Url($model_post->read_url);
|
||||||
|
|||||||
Reference in New Issue
Block a user