|
@@ -81,7 +81,7 @@ class user_bonusModel extends Model
|
|
|
public function getTypeBinded($condition,$fields = '*')
|
|
|
{
|
|
|
$condition['bonus_status'] = array('in',array(2,3));
|
|
|
- return $this->where($condition)->field($fields)->limit(false)->select();
|
|
|
+ return $this->where($condition)->field($fields)->order('get_time DESC')->limit(false)->select();
|
|
|
}
|
|
|
|
|
|
public function getBinded($mobile,$fields = '*') {
|