| | |
| | | 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; |
| | |
| | | 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); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 查看最新的十条中奖记录 |
| | | */ |
| | | @ApiOperation(value = "查看最新的十条中奖记录") |
| | | @ApiResponses({@ApiResponse( code = 200, message = "success", response = CannonWinRecordVo.class)}) |
| | | @GetMapping(value = "/getListAwards") |
| | | public Result getListAwards() { |
| | | return memberCannonService.getListAwards(); |
| | | } |
| | | |
| | | |
| | | |
| | | } |