cp表达超过24小时 就失效了
This commit is contained in:
@@ -501,4 +501,18 @@ class Room extends BaseCom
|
||||
$reslut = model('Room')->set_room_business_time($this->uid, $room_id, $start_time, $end_time);
|
||||
return V($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||
}
|
||||
|
||||
|
||||
//设置房间密码
|
||||
public function set_room_password()
|
||||
{
|
||||
$room_id = input('room_id', 0);
|
||||
$password = input('password', '');
|
||||
if(!$room_id){
|
||||
return V(0, '参数错误');
|
||||
}
|
||||
|
||||
$reslut = model('Room')->set_room_password($this->uid, $room_id, $password);
|
||||
return V($reslut['code'], $reslut['msg'], $reslut['data']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user