From bf144316f5bbd9bd442123ab8d8e5be4f9e42602 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 07 Dec 2021 15:59:27 +0800
Subject: [PATCH] 20211207 fish
---
src/main/java/com/xcong/excoin/modules/fish/controller/MemberCannonController.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 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 322462e..87928bc 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
@@ -4,6 +4,7 @@
import com.xcong.excoin.modules.coin.parameter.vo.MemberWalletAgentInfoVo;
import com.xcong.excoin.modules.coin.parameter.vo.OrderWalletCoinDealVo;
import com.xcong.excoin.modules.fish.dto.*;
+import com.xcong.excoin.modules.fish.entity.CannonWinRecord;
import com.xcong.excoin.modules.fish.service.MemberCannonService;
import com.xcong.excoin.modules.fish.vo.*;
import io.swagger.annotations.Api;
@@ -120,6 +121,16 @@
return memberCannonService.lotteryDraw(lotteryDrawDto);
}
+ /**
+ * 查看中奖记录
+ */
+ @ApiOperation(value = "查看中奖记录")
+ @ApiResponses({@ApiResponse( code = 200, message = "success", response = CannonWinRecordVo.class)})
+ @PostMapping(value = "/getOwnAwards")
+ public Result getOwnAwards(@RequestBody @Valid CannonWinRecordDto cannonWinRecordDto) {
+ return memberCannonService.getOwnAwards(cannonWinRecordDto);
+ }
+
}
--
Gitblit v1.9.1