|
@@ -321,8 +321,12 @@ class Info
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
+ $other_array = array('total', 'min');
|
|
|
+ if (Dever::config('base')->buy && Dever::config('base')->buy == 1) {
|
|
|
+ $other_array = array('total');
|
|
|
+ }
|
|
|
|
|
|
- $data = Dever::load('goods/lib/info')->getInfo($info, $attr, array($other, array('total', 'min')));
|
|
|
+ $data = Dever::load('goods/lib/info')->getInfo($info, $attr, array($other, $other_array));
|
|
|
|
|
|
if($data) {
|
|
|
|