后台-添加房间功能
This commit is contained in:
@@ -813,7 +813,7 @@ class Room extends adminApi
|
|||||||
if(!$user_id){
|
if(!$user_id){
|
||||||
return V(0,"用户不存在");
|
return V(0,"用户不存在");
|
||||||
}
|
}
|
||||||
$reslut = model('Room')->user_create_room($user_id, $room_name, $room_cover, $room_intro);
|
$reslut = model('api/Room')->user_create_room($user_id, $room_name, $room_cover, $room_intro);
|
||||||
if($reslut['code'] == 0){
|
if($reslut['code'] == 0){
|
||||||
return V(0,$reslut['msg']);
|
return V(0,$reslut['msg']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user