|
@@ -253,8 +253,7 @@ class user_bonusModel extends Model
|
|
|
|
|
|
public function getExpired()
|
|
|
{
|
|
|
- $cond['bonus_status'] = 3;
|
|
|
- $cond = array('expired' => 0,'usable_time' => array('elt',time()));
|
|
|
+ $cond = array('expired' => 0, 'bonus_status' => 3,'usable_time' => array('elt',time()));
|
|
|
$ret = $this->getBonusList($cond,"*");
|
|
|
|
|
|
return $ret;
|