娄梦宁 3 years ago
parent
commit
185f30be88
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      application/admin/controller/CfRoomInfo.php

+ 2
- 3
application/admin/controller/CfRoomInfo.php View File

@@ -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]);
}



Loading…
Cancel
Save