| | |
| | | package com.ruoyi.auction.controller.management; |
| | | |
| | | |
| | | import com.ruoyi.auction.controller.management.dto.MgtAuctionSalesroomDTO; |
| | | import com.ruoyi.auction.controller.management.dto.MgtAuctionSalesroomQuery; |
| | | import com.ruoyi.auction.controller.management.vo.MgtAuctionSalesroomVO; |
| | | import com.ruoyi.auction.service.IAuctionSalesroomService; |
| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | |
| | | return R.fail(); |
| | | } |
| | | } |
| | | |
| | | @PostMapping("/save") |
| | | @ApiOperation(value = "添加/编辑 拍卖场", notes = "添加/编辑 拍卖场") |
| | | public R<?> saveAuctionSalesroom( |
| | | @Validated @RequestBody MgtAuctionSalesroomDTO dto) { |
| | | auctionSalesroomService.saveAuctionSalesroom(dto); |
| | | return R.ok(); |
| | | } |
| | | } |