dever 3 years ago
parent
commit
bb004e063a
1 changed files with 5 additions and 5 deletions
  1. 5 5
      app/goods/database/info_sku.php

+ 5 - 5
app/goods/database/info_sku.php

@@ -271,7 +271,7 @@ $config = array
             ),
             'type' => 'all',
             'order' => array('id' => 'desc'),
-            'col' => 'id,info_id,`key`,price,s_price,f_price,c_price,type,min,code',
+            'col' => 'id,info_id,`key`,price,s_price,f_price,c_price,type,min,code,unit,weight',
         ),
 
         # 列表
@@ -285,7 +285,7 @@ $config = array
             ),
             'type' => 'all',
             'order' => array('id' => 'desc'),
-            'col' => 'id,info_id,`key`,price,s_price,f_price,c_price,min,code|key',
+            'col' => 'id,info_id,`key`,price,s_price,f_price,c_price,min,code,unit,weight|key',
         ),
 
         # 获取单条数据
@@ -298,7 +298,7 @@ $config = array
                 'state' => 1,
             ),
             'type' => 'one',
-            'col' => 'id,info_id,price,s_price,f_price,c_price,min,code',
+            'col' => 'id,info_id,price,s_price,f_price,c_price,min,code,unit,weight',
         ),
 
         'getMinOne' => array
@@ -311,7 +311,7 @@ $config = array
             ),
             'type' => 'one',
             'order' => array('price' => 'asc', 'id' => 'desc'),
-            'col' => 'id,info_id,price,s_price,min,code',
+            'col' => 'id,info_id,price,s_price,min,code,unit,weight',
         ),
 
         'getMaxOne' => array
@@ -324,7 +324,7 @@ $config = array
             ),
             'type' => 'one',
             'order' => array('price' => 'desc', 'id' => 'desc'),
-            'col' => 'id,info_id,price,s_price,min,code',
+            'col' => 'id,info_id,price,s_price,min,code,unit,weight',
         ),
 
         # 更新售出量