房间密码
This commit is contained in:
@@ -39,8 +39,12 @@ class Room extends BaseCom
|
||||
$room_cover = input('room_cover', '');
|
||||
$room_intro = input('room_intro', '');
|
||||
$room_background_id = input('room_background', '');
|
||||
$password = input('password');
|
||||
if($room_id <= 0){
|
||||
return ['code' => 0, 'msg' => '房间不存在', 'data' => null];
|
||||
}
|
||||
|
||||
$reslut = model('Room')->user_edit_room($this->uid, $room_id, $room_name, $room_cover, $room_intro,$room_background_id);
|
||||
$reslut = model('Room')->user_edit_room($this->uid, $room_id, $room_name, $room_cover, $room_intro,$room_background_id,$password);
|
||||
|
||||
return V($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||
}
|
||||
@@ -503,7 +507,7 @@ class Room extends BaseCom
|
||||
}
|
||||
|
||||
|
||||
//设置房间密码
|
||||
//设置房间密码【改到编辑房间】暂时不用了
|
||||
public function set_room_password()
|
||||
{
|
||||
$room_id = input('room_id', 0);
|
||||
|
||||
Reference in New Issue
Block a user