dever 3 years ago
parent
commit
b8addd0288
2 changed files with 2 additions and 0 deletions
  1. 1 0
      app/collection/database/page.php
  2. 1 0
      app/collection/src/Api.php

+ 1 - 0
app/collection/database/page.php

@@ -311,6 +311,7 @@ return array
 				'state' => 1,
 				'page_id' => -1,
 				'info_id' => 'yes',
+                'times_id' => 'yes',
 			),
 			'type' => 'all',
 			'order' => array('reorder' => 'asc', 'id' => 'asc'),

+ 1 - 0
app/collection/src/Api.php

@@ -576,6 +576,7 @@ class Api extends Core
         $parent_page_id = $this->parent_page_id;
         $page_id = $this->page_id;
         $where['info_id'] = $this->id;
+        $where['times_id'] = $this->times;
         $data['cate'] = Dever::db('collection/page')->main($where);
         if ($data['cate']) {
             $content = Dever::db('collection/content')->child($where);