| | |
| | | |
| | | import cc.mrbird.febs.common.annotation.SubmitRepeat; |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.mall.dto.ApiChargeListDto; |
| | | import cc.mrbird.febs.mall.dto.ApiGetRunDateDto; |
| | | import cc.mrbird.febs.mall.dto.ApiGoChargeDto; |
| | | import cc.mrbird.febs.mall.dto.ApiGoChargeInfoDto; |
| | | import cc.mrbird.febs.mall.dto.*; |
| | | import cc.mrbird.febs.mall.service.IRunVipService; |
| | | import cc.mrbird.febs.mall.vo.*; |
| | | import io.swagger.annotations.Api; |
| | |
| | | return new FebsResponse().success().data(iRunVipService.getChargeList(apiChargeListDto)); |
| | | } |
| | | |
| | | @ApiOperation(value = "【权益升级】权益升级详情", notes = "【权益升级】权益升级详情") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiGrowInfoVo.class) |
| | | }) |
| | | @GetMapping(value = "/growInfo") |
| | | public FebsResponse growInfo() { |
| | | return iRunVipService.growInfo(); |
| | | } |
| | | |
| | | @ApiOperation(value = "【权益升级】APP支付", notes = "【权益升级】APP支付") |
| | | @PostMapping(value = "/growBuy") |
| | | @SubmitRepeat |
| | | public FebsResponse growBuy(@RequestBody @Valid ApiGrowBuyDto apiGrowBuyDto) { |
| | | return iRunVipService.growBuy(apiGrowBuyDto); |
| | | } |
| | | |
| | | @ApiOperation(value = "【权益升级】立即购买", notes = "【权益升级】立即购买") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiGoChargeVo.class) |
| | | }) |
| | | @PostMapping(value = "/growCharge") |
| | | @SubmitRepeat |
| | | public FebsResponse growCharge(@RequestBody @Valid ApiGrowChargeDto apiGrowChargeDto) { |
| | | return iRunVipService.growCharge(apiGrowChargeDto); |
| | | } |
| | | |
| | | @ApiOperation(value = "【购买VIP】可减免金额", notes = "【购买VIP】可减免金额") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiReduceAmountVo.class) |
| | | }) |
| | | @GetMapping(value = "/reduceAmount") |
| | | public FebsResponse reduceAmount() { |
| | | return iRunVipService.reduceAmount(); |
| | | } |
| | | |
| | | @ApiOperation(value = "【购买VIP】APP支付", notes = "【购买VIP】APP支付") |
| | | @PostMapping(value = "/balanceBuy") |
| | | @SubmitRepeat |
| | | public FebsResponse balanceBuy(@RequestBody @Valid ApiBalanceBuyDto apiBalanceBuyDto) { |
| | | return iRunVipService.balanceBuy(apiBalanceBuyDto); |
| | | } |
| | | |
| | | @ApiOperation(value = "【购买VIP】立即购买", notes = "【购买VIP】立即购买") |
| | | @ApiResponses({ |
| | | @ApiResponse(code = 200, message = "success", response = ApiGoChargeVo.class) |