| | |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.CrossOrigin; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @Slf4j |
| | | @Validated |
| | |
| | | @ApiResponse(code = 200, message = "success", response = ApiShopVo.class) |
| | | }) |
| | | @PostMapping(value = "/shopList") |
| | | public FebsResponse shopList(ApiShopDto apiShopDto) { |
| | | public FebsResponse shopList(@RequestBody ApiShopDto apiShopDto) { |
| | | return new FebsResponse().success().data(mallShopService.findShopList(apiShopDto)); |
| | | } |
| | | } |