| | |
| | | import com.ruoyi.common.core.utils.page.PageDTO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | |
| | | */ |
| | | @GetMapping("/qr-code/{id}") |
| | | @ApiOperation(value = "查看二维码", notes = "查看二维码") |
| | | public R<String> getQrCode(@PathVariable("id") Long id) { |
| | | public R<String> getQrCode( |
| | | @ApiParam(name = "id", value = "拍卖场id", required = true) @PathVariable("id") Long id) { |
| | | try { |
| | | return R.ok(auctionSalesroomService.getQrCode(id)); |
| | | } catch (Exception e) { |
| | |
| | | */ |
| | | @GetMapping("/{id}") |
| | | @ApiOperation(value = "查看详情", notes = "查看详情") |
| | | public R<MgtAuctionSalesroomVO> getAuctionSalesroom(@PathVariable("id") Long id) { |
| | | public R<MgtAuctionSalesroomVO> getAuctionSalesroom( |
| | | @ApiParam(name = "id", value = "拍卖会id", required = true) @PathVariable("id") Long id) { |
| | | return R.ok(auctionSalesroomService.getAuctionSalesroom(id)); |
| | | } |
| | | |