From 2dcde26e44e85d84c3a20fee0aaed3724edba3bc Mon Sep 17 00:00:00 2001 From: rentaiming <806181062@qq.com> Date: 星期一, 03 六月 2024 14:11:40 +0800 Subject: [PATCH] 用户端商品 --- ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/forepart/ForepartAuctionSalesroomController.java | 45 ++++++++++++--------------------------------- 1 files changed, 12 insertions(+), 33 deletions(-) diff --git a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/forepart/ForepartAuctionSalesroomController.java b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/forepart/ForepartAuctionSalesroomController.java index db5f444..4262b40 100644 --- a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/forepart/ForepartAuctionSalesroomController.java +++ b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/forepart/ForepartAuctionSalesroomController.java @@ -44,21 +44,11 @@ @Resource private IAuctionSalesroomGoodsService iAuctionSalesroomGoodsService; - @InnerAuth - @PostMapping("/getAuctionSalesroomOne") - @ResponseBody - public R<AuctionSalesroom> getauctionSalesroomOne(@RequestBody Long auctionSalesroomId) { - AuctionSalesroom auctionSalesroomOne=iAuctionSalesroomService.getById(auctionSalesroomId); - return R.ok(auctionSalesroomOne); - - } - /** * 拍卖大屏获取拍卖信息 * */ - @RequestMapping("getAuctionBidRecordList") - @ResponseBody + @PostMapping("getAuctionBidRecordList") @ApiOperation(value = "拍卖大屏-获取拍卖信息") public R<PageDTO<AuctionSalesroom>> getAuctionBidRecordList(@RequestBody AuctionSalesroomGoodsDTO ctionSalesroomGoodsDTO) { return R.ok(iAuctionSalesroomService.getAuctionBidRecordList(ctionSalesroomGoodsDTO)); @@ -69,60 +59,52 @@ * 暖场视频or封面海报 * */ - @RequestMapping("/getBaaner") - @ResponseBody + @PostMapping("/getBaaner") @ApiOperation(value = "拍卖大屏-暖场视频or封面海报") public R<ForepartAuctionSalesroomVO> getBaaner(@RequestBody AuctionSalesroomGoodsDTO ctionSalesroomGoodsDTO) { return R.ok(iAuctionSalesroomService.getBaaner(ctionSalesroomGoodsDTO)); } - @RequestMapping("/getAuctionBidRecordOne") - @ResponseBody + @PostMapping("/getAuctionBidRecordOne") @ApiOperation(value = "拍卖师端-扫码二维码获取拍卖场信息") public R<AuctionSalesroom> getAuctionBidRecordOne(@RequestBody ForepartAuctionBidRecordDTO arepartAuctionBidRecordDTO) { return R.ok(iAuctionSalesroomService.getAuctionBidRecordOne(arepartAuctionBidRecordDTO)); } - @RequestMapping("/actionMiniLogin") - @ResponseBody + @PostMapping("/actionMiniLogin") @ApiOperation(value = "拍卖师端-第三方登陸") public R<AppMiniLoginVO> actionMiniLogin(@RequestBody AppMiniLoginDTO appMiniLoginDto) { return R.ok(iAuctionSalesroomService.actionMiniLogin(appMiniLoginDto)); } - @RequestMapping("/getMemberAuctionSalesroomList") - @ResponseBody + @PostMapping("/getMemberAuctionSalesroomList") @ApiOperation(value = "用户端-拍卖场信息列表") public R<PageDTO<MemberAuctionSalesroomVO>> getMemberAuctionSalesroomList(@RequestBody MemberAuctionSalesroomDTO MemberAuctionSalesroomDTO) { return R.ok(iAuctionSalesroomService.getMemberAuctionSalesroomList(MemberAuctionSalesroomDTO)); } - @RequestMapping("/getMemberAuctionSalesroomInfo") - @ResponseBody + @PostMapping("/getMemberAuctionSalesroomInfo") @ApiOperation(value = "用户端-拍卖场信息详情") public R<MemberAuctionSalesroomInfoVO> getMemberAuctionSalesroomInfo(@RequestBody MemberAuctionSalesroomDTO memberAuctionSalesroomDTO) { return R.ok(iAuctionSalesroomService.getMemberAuctionSalesroomInfo(memberAuctionSalesroomDTO)); } - @RequestMapping("/getMemberAuctionSalesroomSweep") - @ResponseBody + @PostMapping("/getMemberAuctionSalesroomSweep") @ApiOperation(value = "用户端-扫一扫拍卖场信息") public R<MemberAuctionSalesroomVO> getMemberAuctionSalesroomSweep(@RequestBody MemberAuctionSalesroomDTO MemberAuctionSalesroomDTO) { return R.ok(iAuctionSalesroomService.getMemberAuctionSalesroomSweep(MemberAuctionSalesroomDTO)); } - @RequestMapping("/SaveSignUpNow") - @ResponseBody + @PostMapping("/SaveSignUpNow") @ApiOperation(value = "用户端-拍卖立即报名") public R<PayInfoVO> SaveSignUpNow(@RequestBody MemberAuctionSalesroomBondDTO memberAuctionSalesroomBondDTO) { return R.ok( iAuctionSalesroomService.SaveSignUpNow(memberAuctionSalesroomBondDTO)); } - @RequestMapping("/CancelSignUpNow") - @ResponseBody + @PostMapping("/CancelSignUpNow") @ApiOperation(value = "用户端-拍卖取消报名") public R CancelSignUpNow(@RequestBody MemberAuctionSalesroomBondDTO memberAuctionSalesroomBondDTO) { iAuctionSalesroomService.CancelSignUpNow(memberAuctionSalesroomBondDTO); @@ -133,8 +115,7 @@ * 拍卖师端拍卖场立即开始 * */ - @RequestMapping("/auctionSalesroomStart") - @ResponseBody + @PostMapping("/auctionSalesroomStart") @ApiOperation(value = "拍卖师端-拍卖场立即开始") public R auctionSalesroomStart(@RequestBody AuctionSalesroomGoodsDTO ationSalesroomGoodsDTO) { iAuctionSalesroomGoodsService.auctionSalesroomStart(ationSalesroomGoodsDTO); @@ -146,8 +127,7 @@ * 拍卖师端拍卖场立即开始 * */ - @RequestMapping("/auctionSalesroomEnd") - @ResponseBody + @PostMapping("/auctionSalesroomEnd") @ApiOperation(value = "拍卖师端-拍卖场立即结束") public R auctionSalesroomEnd(@RequestBody AuctionSalesroomGoodsDTO ationSalesroomGoodsDTO) { iAuctionSalesroomGoodsService.auctionSalesroomEnd(ationSalesroomGoodsDTO); @@ -155,8 +135,7 @@ } - @RequestMapping("/getWdAuctionSalesroomList") - @ResponseBody + @PostMapping("/getWdAuctionSalesroomList") @ApiOperation(value = "用户端-我的拍卖-我的加入了的拍卖场") public R<PageDTO<WdMemberAuctionSalesroomVO>> getWdAuctionSalesroomList(@RequestBody MemberAuctionSalesroomDTO MemberAuctionSalesroomDTO) { return R.ok(iAuctionSalesroomService.getWdAuctionSalesroomList(MemberAuctionSalesroomDTO)); -- Gitblit v1.7.1