|
@@ -50,7 +50,7 @@ class member_bonusControl extends mbMemberControl
|
|
|
$result['mine_room'] = $mine_rooms;
|
|
|
}
|
|
|
|
|
|
- $result['other_room'] = room_helper::other_rooms(['type' => proto_type::room_chat]);
|
|
|
+ $result['other_room'] = room_helper::other_rooms(['type' => proto_type::room_chat],'steps_count desc,room_id desc');
|
|
|
return self::outsuccess($result);
|
|
|
}
|
|
|
public function mine_bonusOp()
|
|
@@ -61,7 +61,8 @@ class member_bonusControl extends mbMemberControl
|
|
|
}
|
|
|
|
|
|
public function other_roomsOp (){
|
|
|
- $result['other_room'] = room_helper::other_rooms(['type' => proto_type::room_chat],'room_id desc',20, 20);
|
|
|
+ $result['other_room'] = room_helper::other_rooms(['type' => proto_type::room_chat],'steps_count desc,room_id desc',20, 20,$mobile_page);
|
|
|
+ $result['mobile_page'] = $mobile_page;
|
|
|
return self::outsuccess($result);
|
|
|
}
|
|
|
|