| | |
| | | import com.xcong.excoin.common.entity.FebsResponse;
|
| | | import com.xcong.excoin.common.entity.QueryRequest;
|
| | | import com.xcong.excoin.modules.member.dto.MemberDetailConfirmDto;
|
| | | import com.xcong.excoin.modules.member.dto.MemberLimitDto;
|
| | | import com.xcong.excoin.modules.member.entity.AgentFriendRelationEntity;
|
| | | import com.xcong.excoin.modules.member.entity.MemberCoinChargeEntity;
|
| | | import com.xcong.excoin.modules.member.entity.MemberCoinWithdrawEntity;
|
| | |
| | | import org.springframework.web.bind.annotation.RestController;
|
| | |
|
| | | import java.util.Map;
|
| | | import java.util.concurrent.ExecutionException;
|
| | |
|
| | | import javax.validation.Valid;
|
| | | import javax.validation.constraints.NotNull;
|
| | |
| | | public FebsResponse addCoinConfirm(@Valid MemberEntity memberEntity) {
|
| | | return memberService.addCoinConfirm(memberEntity);
|
| | | }
|
| | |
|
| | | /**
|
| | | * 限制设置
|
| | | * @return
|
| | | */
|
| | | @PostMapping("setLimit")
|
| | | @ControllerEndpoint(operation = "交易设置---确认", exceptionMessage = "设置失败")
|
| | | public FebsResponse addCoinConfirm(@Valid MemberLimitDto memberEntity) {
|
| | | memberService.setLimit(memberEntity);
|
| | | return new FebsResponse().success();
|
| | | }
|
| | |
|
| | | /**
|
| | | * 代理关系---列表
|
| | |
| | | public FebsResponse getList(MemberEntity member, QueryRequest request) {
|
| | | Map<String, Object> data = getDataTable(memberService.findMemberListInPage(member, request));
|
| | | return new FebsResponse().success().data(data);
|
| | | }
|
| | | |
| | | @GetMapping("memberDataInfoListSearchs")
|
| | | public FebsResponse memberDataInfoListSearchs(MemberEntity member, QueryRequest request) {
|
| | | Map<String, Object> data = getDataTable(memberService.memberDataInfoListSearchs(member, request));
|
| | | return new FebsResponse().success().data(data);
|
| | | }
|
| | |
|
| | | @GetMapping("getListTest")
|
| | |
| | | */
|
| | | @GetMapping("memberWithdrawCoinConfirm/{id}")
|
| | | @ControllerEndpoint(operation = "提币记录---确认", exceptionMessage = "划转失败")
|
| | | public FebsResponse memberWithdrawCoinConfirm(@NotNull(message = "{required}") @PathVariable Long id) {
|
| | | public FebsResponse memberWithdrawCoinConfirm(@NotNull(message = "{required}") @PathVariable Long id) throws ExecutionException, InterruptedException {
|
| | | return memberService.memberWithdrawCoinConfirm(id);
|
| | | }
|
| | |
|