| | |
| | | package com.xcong.excoin.modules.member.controller; |
| | | |
| | | import com.xcong.excoin.common.annotation.ControllerEndpoint; |
| | | import com.xcong.excoin.common.controller.BaseController; |
| | | import com.xcong.excoin.common.entity.FebsResponse; |
| | | import com.xcong.excoin.common.entity.QueryRequest; |
| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.Map; |
| | | |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | |
| | | /** |
| | | * @author wzy |
| | |
| | | } |
| | | |
| | | /** |
| | | * 会员USDT充值 |
| | | * @param member |
| | | * @param request |
| | | * @return |
| | | * 会员USDT充值---列表 |
| | | */ |
| | | @GetMapping("memberChargeUsdt") |
| | | public FebsResponse memberChargeUsdt(MemberQuickBuySaleEntity memberQuickBuySaleEntity, QueryRequest request) { |
| | | Map<String, Object> data = getDataTable(memberService.findmemberQuickBuySaleListInPage(memberQuickBuySaleEntity, request)); |
| | | return new FebsResponse().success().data(data); |
| | | } |
| | | |
| | | /** |
| | | * 会员USDT充值---确认 |
| | | * @return |
| | | */ |
| | | @GetMapping("memberChargeUsdtConfirm/{id}") |
| | | @ControllerEndpoint(operation = "会员USDT充值---确认", exceptionMessage = "划转失败") |
| | | public FebsResponse memberChargeUsdtConfirm(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return memberService.memberChargeUsdtConfirm(id); |
| | | } |
| | | |
| | | /** |
| | | * 会员USDT充值---取消 |
| | | * @return |
| | | */ |
| | | @GetMapping("memberChargeUsdtCancel/{id}") |
| | | @ControllerEndpoint(operation = "会员USDT充值---取消", exceptionMessage = "取消失败") |
| | | public FebsResponse memberChargeUsdtCancel(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return memberService.memberChargeUsdtCancel(id); |
| | | } |
| | | } |