| | |
| | | import cc.mrbird.febs.common.utils.FebsUtil; |
| | | import cc.mrbird.febs.dapp.chain.ChainService; |
| | | import cc.mrbird.febs.dapp.dto.PriceSettingDto; |
| | | import cc.mrbird.febs.dapp.entity.AppVersion; |
| | | import cc.mrbird.febs.dapp.entity.DappMemberEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappTransferRecordEntity; |
| | | import cc.mrbird.febs.dapp.entity.MemberCoinChargeEntity; |
| | | import cc.mrbird.febs.dapp.entity.*; |
| | | import cc.mrbird.febs.dapp.service.DappMemberService; |
| | | import cc.mrbird.febs.dapp.service.DappSystemService; |
| | | import cc.mrbird.febs.dapp.vo.AdminMemberIdentityVo; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.ibatis.annotations.Param; |
| | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.math.BigDecimal; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | public FebsResponse addCoinConfirm(@Valid DappMemberEntity memberEntity) { |
| | | return dappMemberService.payUsdt(memberEntity); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 会员列表---会员等级下拉框 |
| | | */ |
| | | @GetMapping(value = "identitySetList") |
| | | public FebsResponse identitySetList() { |
| | | List<AdminMemberIdentityVo> identityVos = dappMemberService.identitySetList(); |
| | | return new FebsResponse().success().data(identityVos); |
| | | } |
| | | |
| | | /** |
| | | *会员列表---设置会员等级 |
| | | * @return |
| | | */ |
| | | @PostMapping("identitySet") |
| | | @ControllerEndpoint(operation = "会员列表-设置会员等级", exceptionMessage = "操作失败") |
| | | public FebsResponse identitySet(@Valid DappMemberEntity memberEntity) { |
| | | return dappMemberService.identitySet(memberEntity); |
| | | } |
| | | |
| | | /** |
| | | * 资金流水--回退 |
| | | */ |
| | | @GetMapping(value = "/amountFlowBack/{id}") |
| | | public FebsResponse amountFlowBack(@PathVariable("id") Long id) { |
| | | return dappMemberService.amountFlowBack(id); |
| | | } |
| | | } |