|
|
@@ -178,11 +178,10 @@ class CfRoomInfo extends Backend |
|
|
|
} |
|
|
|
|
|
|
|
public function getRoomList(){ |
|
|
|
$hotelId=$this->request->post('hotelId'); |
|
|
|
$hotelId=$this->request->get('hotelId'); |
|
|
|
$result= $this->model |
|
|
|
->field("id,room_name as name") |
|
|
|
->field("id,room_name as name,room_memo") |
|
|
|
->where("hotel_id","=",$hotelId)->select(); |
|
|
|
|
|
|
|
return json(['list' => $result]); |
|
|
|
} |
|
|
|
|
|
|
|