package com.template.api; import com.template.model.pojo.SystemMenu; import com.template.model.result.CommonResult; import com.template.model.vo.SystemMenuTreeVo; import com.template.model.vo.SystemMenuVo; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; import java.util.List; /** * @Author: binguo * @Date: 2023/3/30 星期四 17:28 * @Description: com.video.api * @Version: 1.0 */ @RequestMapping("/api/hotel") @Api(tags = {"HotelController"}, value = "民宿接口") public interface HotelControllerAPI { @GetMapping("/QueryTownRate") @ApiOperation(value = "查询民宿占比", notes = "查询民宿占比", httpMethod = "GET") CommonResult QueryTownRate(); @GetMapping("/QueryHotelList") @ApiOperation(value = "条件查询民宿列表", notes = "查询民宿列表", httpMethod = "GET") CommonResult QueryHotelList(@RequestParam("town") String town,@RequestParam("hName")String hName,int pageNum,int pageSize); @GetMapping("/QueryHotelListByName") @ApiOperation(value = "根据名称查询民宿列表", notes = "根据名称查询民宿列表", httpMethod = "GET") CommonResult QueryHotelListByName(@RequestParam("hName")String hName); }