rabin 6 anos atrás
pai
commit
2fc5e953b8
2 arquivos alterados com 26 adições e 0 exclusões
  1. 13 0
      course/database/cate.php
  2. 13 0
      course/database/info.php

+ 13 - 0
course/database/cate.php

@@ -122,5 +122,18 @@ return array
 			'order' => array('reorder' => 'desc','id' => 'desc'),
 			'col' => '*',
 		),
+		'getIds' => array
+        (
+            # 匹配的正则或函数 选填项
+            'option' => array
+            (
+                'ids' => array('yes-id', 'in'),
+                'status' => 2,
+                'state' => 1,
+            ),
+            'type' => 'all',
+            'order' => array('reorder' => 'desc','id' => 'desc'),
+            'col' => '*,id as value|id',
+        ),
 	),
 );

+ 13 - 0
course/database/info.php

@@ -432,5 +432,18 @@ return array
 				'num_view' => array('1', '+='),
 			),
 		),
+
+		'getIds' => array
+        (
+            # 匹配的正则或函数 选填项
+            'option' => array
+            (
+                'cate_id' => array('yes-cate_id', 'in'),
+                'state' => 1,
+            ),
+            'type' => 'all',
+            'order' => array('reorder' => 'desc','id' => 'desc'),
+            'col' => '*,id as value|id',
+        ),
 	),
 );