| | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.security.annotation.InnerAuth; |
| | | import com.ruoyi.system.api.domain.AuctionSalesroom; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import com.ruoyi.system.api.domain.dto.MemberAuctionSalesroomBondDTO; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import javax.annotation.Resource; |
| | | 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.ResponseBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @InnerAuth |
| | | @PostMapping("/getAuctionSalesroomOne") |
| | | @ResponseBody |
| | | public R<AuctionSalesroom> getauctionSalesroomOne(@RequestBody Long auctionSalesroomId) { |
| | | AuctionSalesroom auctionSalesroomOne=iAuctionSalesroomService.getById(auctionSalesroomId); |
| | | public R<AuctionSalesroom> getauctionSalesroomOne(@RequestBody MemberAuctionSalesroomBondDTO memberAuctionSalesroomBondDTO) { |
| | | AuctionSalesroom auctionSalesroomOne=iAuctionSalesroomService.getById(memberAuctionSalesroomBondDTO.getAuctionSalesroomId()); |
| | | return R.ok(auctionSalesroomOne); |
| | | |
| | | } |
| | | |
| | | @InnerAuth |
| | | @PostMapping("/list-by-ids") |
| | | R<List<AuctionSalesroom>> getAuctionSalesroomByIds( |
| | | @RequestBody Collection<Long> auctionSalesroomGoodsIdSet) { |
| | | |
| | | return R.ok(iAuctionSalesroomService.getAuctionSalesroomByIds(auctionSalesroomGoodsIdSet)); |
| | | } |
| | | } |