修改房间类型
This commit is contained in:
@@ -1872,6 +1872,10 @@ class Room extends Model
|
||||
}
|
||||
}
|
||||
|
||||
if($roomInfo['type_id'] == 9){
|
||||
db::name('vs_song_log')->where(['room_id' => $room_id,'status' => ['<>',2]])->update(['status' => 2]);
|
||||
}
|
||||
|
||||
if($roomInfo['type_id'] == 10 && $roomInfo['sign_type'] != 0){
|
||||
return ['code' => 0, 'msg' => '请先结束签约后在修改房间类型', 'data' => null];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user