Browse Source

필수 파라미터 지정 idntfNum

pull/6/head
lkd9125 1 year ago
parent
commit
0532e5740c
  1. 3
      pav-server/src/main/java/com/palnet/biz/api/main/dash/controller/MainDashController.java

3
pav-server/src/main/java/com/palnet/biz/api/main/dash/controller/MainDashController.java

@ -13,6 +13,7 @@ import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.palnet.biz.api.comn.response.BasicResponse;
@ -224,7 +225,7 @@ public class MainDashController {
@ApiOperation(value = "김포공항, 드론별 비행 통계")
@Tag(name = "메인화면 컨트롤러", description = "메인화면 관련 API")
@ApiImplicitParam(name = "date",value = "날짜", dataTypeClass = String.class)
public ResponseEntity<? extends BasicResponse> droneFlightStatistics(String date, String idntfNum, @PathVariable String type){
public ResponseEntity<? extends BasicResponse> droneFlightStatistics(String date, @RequestParam(required = true) String idntfNum, @PathVariable String type){
log.info("idntfNum -> {}", idntfNum);
String[] formatParam = null;

Loading…
Cancel
Save