|
@@ -163,7 +163,7 @@ $config = array
|
|
|
),
|
|
|
'type' => 'all',
|
|
|
'order' => array('id' => 'desc'),
|
|
|
- 'col' => '*,num-sell_num as num|key',
|
|
|
+ 'col' => 'id,info_id,`key`,price,s_price,num-sell_num as num|key',
|
|
|
),
|
|
|
|
|
|
|
|
@@ -176,7 +176,7 @@ $config = array
|
|
|
'state' => 1,
|
|
|
),
|
|
|
'type' => 'one',
|
|
|
- 'col' => '*,num-sell_num as num',
|
|
|
+ 'col' => 'id,info_id,price,s_price,num-sell_num as num',
|
|
|
),
|
|
|
|
|
|
'getMinOne' => array
|
|
@@ -189,7 +189,7 @@ $config = array
|
|
|
),
|
|
|
'type' => 'one',
|
|
|
'order' => array('price' => 'asc', 'id' => 'desc'),
|
|
|
- 'col' => '*',
|
|
|
+ 'col' => 'id,info_id,price,s_price,num-sell_num as num',
|
|
|
),
|
|
|
|
|
|
'getMaxOne' => array
|
|
@@ -202,7 +202,7 @@ $config = array
|
|
|
),
|
|
|
'type' => 'one',
|
|
|
'order' => array('price' => 'desc', 'id' => 'desc'),
|
|
|
- 'col' => '*',
|
|
|
+ 'col' => 'id,info_id,price,s_price,num-sell_num as num',
|
|
|
),
|
|
|
|
|
|
|