@@ -269,5 +269,18 @@ return array
'order' => array('page_number' => 'desc'),
'col' => 'page_number',
),
+
+ 'getData' => array
+ (
+ # 匹配的正则或函数 选填项
+ 'option' => array
+ 'product_id' => 'yes',
+ 'state' => 1,
+ ),
+ 'type' => 'all',
+ 'order' => array('page_number' => 'asc', 'reorder' => 'asc', 'id' => 'asc'),
+ 'col' => '*',
)
);
@@ -227,7 +227,7 @@ class Api
private function getContent($type, $content)
{
- if ($type >= 11) {
+ if ($type >= 12) {
$content = Dever::array_decode($content);
} else {
$content = array();