From 0b4ddcc6cd1b3ca9973ba4bf1732be010a7de4e2 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 07 Dec 2021 14:33:34 +0800
Subject: [PATCH] 20211207  fish

---
 src/main/java/com/xcong/excoin/modules/fish/controller/MemberCannonController.java |   27 ++++++++++++++++++++++-----
 1 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/fish/controller/MemberCannonController.java b/src/main/java/com/xcong/excoin/modules/fish/controller/MemberCannonController.java
index a19ba8c..322462e 100644
--- a/src/main/java/com/xcong/excoin/modules/fish/controller/MemberCannonController.java
+++ b/src/main/java/com/xcong/excoin/modules/fish/controller/MemberCannonController.java
@@ -5,10 +5,7 @@
 import com.xcong.excoin.modules.coin.parameter.vo.OrderWalletCoinDealVo;
 import com.xcong.excoin.modules.fish.dto.*;
 import com.xcong.excoin.modules.fish.service.MemberCannonService;
-import com.xcong.excoin.modules.fish.vo.AccountAvaBanlaceVo;
-import com.xcong.excoin.modules.fish.vo.CannonSettingVo;
-import com.xcong.excoin.modules.fish.vo.GoldAccountVo;
-import com.xcong.excoin.modules.fish.vo.OwnCannonVo;
+import com.xcong.excoin.modules.fish.vo.*;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiResponse;
@@ -54,7 +51,6 @@
     @ApiOperation(value = "代币金币互转")
     @PostMapping(value = "/coinGoldExchange")
     public Result coinGoldExchange(@RequestBody @Valid CoinGoldExchangeDto coinGoldExchangeDto) {
-        log.info("请求coinGoldExchange方法");
         return memberCannonService.coinGoldExchange(coinGoldExchangeDto);
     }
 
@@ -105,4 +101,25 @@
         return memberCannonService.fishing(fishingDto);
     }
 
+    /**
+     * 获取奖品列表
+     */
+    @ApiOperation(value="获取奖品列表", notes="获取奖品列表")
+    @ApiResponses({@ApiResponse( code = 200, message = "success", response = AwardsVo.class)})
+    @GetMapping(value="/getAwards")
+    public Result getAwards() {
+        return memberCannonService.getAwards();
+    }
+
+    /**
+     *点击抽奖
+     */
+    @ApiOperation(value = "点击抽奖")
+    @PostMapping(value = "/lotteryDraw")
+    public Result lotteryDraw(@RequestBody @Valid LotteryDrawDto lotteryDrawDto) {
+        return memberCannonService.lotteryDraw(lotteryDrawDto);
+    }
+
+
+
 }

--
Gitblit v1.9.1