|
@@ -236,7 +236,8 @@ class manager
|
|
|
sort($member_ids);
|
|
|
|
|
|
$mod_bonus = Model('user_bonus');
|
|
|
- $items = $mod_bonus->getBonusList(array('user_id' => array('in',$member_ids),'type_sn' => $type_sn));
|
|
|
+
|
|
|
+ $items = $mod_bonus->getBonusList(array('user_id' => array('in',$member_ids),'type_sn' => $type_sn),'*','',0,0,0,'',true);
|
|
|
$ret = [];
|
|
|
foreach ($items as $item)
|
|
|
{
|
|
@@ -252,7 +253,7 @@ class manager
|
|
|
if(!empty($member_ids))
|
|
|
{
|
|
|
$count = count($member_ids);
|
|
|
- $items = $mod_bonus->getBonusList(array('bonus_status' => 0,'type_sn' => $type_sn),'*','',0,0,count($member_ids));
|
|
|
+ $items = $mod_bonus->getBonusList(array('bonus_status' => 0,'type_sn' => $type_sn),'*','',0,0,count($member_ids),'',true);
|
|
|
if($count != count($items)) {
|
|
|
return false;
|
|
|
}
|