| | |
| | | @ApiOperation("结束当前拍卖商品") |
| | | public R<?> stopCurrentGoods( |
| | | @ApiParam(name = "id", value = "拍卖场商品id", required = true) @PathVariable("id") Long id) { |
| | | auctionSalesroomService.stopCurrentGoods(id); |
| | | try { |
| | | auctionSalesroomService.stopCurrentGoods(id); |
| | | } catch (JsonProcessingException e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | |
| | |
| | | @ApiOperation("开始下一拍卖商品") |
| | | public R<?> startNextGoods( |
| | | @ApiParam(name = "id", value = "拍卖场商品id", required = true) @PathVariable("id") Long id) { |
| | | auctionSalesroomService.startNextGoods(id); |
| | | try { |
| | | auctionSalesroomService.startNextGoods(id); |
| | | } catch (JsonProcessingException e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | |