fix: nav
This commit is contained in:
@@ -67,7 +67,8 @@ class SitemapModel extends Model
|
||||
|
||||
$where = array(
|
||||
'a.status=1',
|
||||
'c.type=2'
|
||||
'c.type=2',
|
||||
"a.date<'" . date('Y-m-d H:i:s') . "'"
|
||||
);
|
||||
|
||||
return parent::table('ay_content a')->field($fields)
|
||||
|
||||
Reference in New Issue
Block a user