点唱房
This commit is contained in:
@@ -266,7 +266,7 @@ class Room extends BaseCom
|
||||
public function change_room_type()
|
||||
{
|
||||
$room_id = input('room_id', 0);
|
||||
$type = input('type', 1);//1-聊天,2-拍卖,7-互娱,8-交友,9-点唱
|
||||
$type = input('type', 1);//1-交友,2-拍卖,7-互娱,8-交友(不要了),9-点唱
|
||||
$reslut = model('Room')->change_room_type($this->uid, $room_id, $type);
|
||||
return V($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||
}
|
||||
|
||||
@@ -1729,7 +1729,7 @@ class Room extends Model
|
||||
|
||||
|
||||
//修改房间类型
|
||||
// $type 1-聊天,2-拍卖,7-互娱,8-交友,9-点唱
|
||||
// $type //1-交友,2-拍卖,7-互娱,8-交友(不要了),9-点唱
|
||||
public function change_room_type($uid,$room_id,$type)
|
||||
{
|
||||
if(!$uid || !$room_id || !$type){
|
||||
|
||||
Reference in New Issue
Block a user