|
|
@@ -5,6 +5,7 @@ import com.tuoheng.admin.entity.request.index.GetQuestionListDto; |
|
|
|
import com.tuoheng.admin.service.IndexService; |
|
|
|
import com.tuoheng.common.common.BaseQuery; |
|
|
|
import com.tuoheng.common.utils.JsonResult; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@@ -38,13 +39,13 @@ public class IndexGisController { |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取机场详细信息 |
|
|
|
* @param getAirportDetailDto |
|
|
|
* @param airportId |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@PostMapping("/getAirportDetail") |
|
|
|
public JsonResult getAirportDetail(@RequestBody GetAirportDetailDto getAirportDetailDto) { |
|
|
|
log.info("Index getAirportDetail start... param:{}", getAirportDetailDto.toString()); |
|
|
|
return indexService.getAirportDetail(getAirportDetailDto); |
|
|
|
@GetMapping("/getAirportDetail") |
|
|
|
public JsonResult getAirportDetail(@PathVariable("airportId") Integer airportId) { |
|
|
|
log.info("Index getAirportDetail start... param:{}", airportId.toString()); |
|
|
|
return indexService.getAirportDetail(airportId); |
|
|
|
} |
|
|
|
|
|
|
|
/** |