| | |
| | | package cc.mrbird.febs.dapp.service; |
| | | |
| | | import cc.mrbird.febs.common.entity.FebsResponse; |
| | | import cc.mrbird.febs.common.entity.QueryRequest; |
| | | import cc.mrbird.febs.dapp.dto.ApproveDto; |
| | | import cc.mrbird.febs.dapp.dto.*; |
| | | import cc.mrbird.febs.dapp.entity.DappFundFlowEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappMemberEntity; |
| | | import cc.mrbird.febs.dapp.entity.DappTransferRecordEntity; |
| | | import cc.mrbird.febs.dapp.vo.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public interface DappMemberService extends IService<DappMemberEntity> { |
| | | |
| | | void approve(ApproveDto approveDto); |
| | | |
| | | int isApprove(String address); |
| | | void connect(ConnectDto connectDto); |
| | | |
| | | int isApprove(String address, String chain); |
| | | |
| | | IPage<DappMemberEntity> selectInPage(DappMemberEntity member, QueryRequest request); |
| | | |
| | | DappMemberEntity findByAddress(String address); |
| | | DappMemberEntity findByAddress(String address, String chain); |
| | | |
| | | void accountStatus(Long id); |
| | | |
| | |
| | | |
| | | void withdrawAble(Long id); |
| | | |
| | | void transfer(String address); |
| | | void transfer(String address, String chain); |
| | | |
| | | IPage<DappTransferRecordEntity> selectTransferInPage(DappTransferRecordEntity transfer, QueryRequest request); |
| | | |
| | | void setNewestPrice(PriceSettingDto priceSettingDto); |
| | | |
| | | DappMemberEntity insertMember(String address, String refererId); |
| | | |
| | | DappMemberEntity insertMember(String address, String refererId, String chainType, String accountType); |
| | | |
| | | List<TeamListVo> findTeamList(TeamListDto teamListDto); |
| | | |
| | | FebsResponse register(RegisterDto registerDto); |
| | | |
| | | FebsResponse toLogin(LoginDto loginDto); |
| | | |
| | | FebsResponse touristLogin(TouristLoginDto touristLoginDto); |
| | | |
| | | FebsResponse captchaCreator() throws IOException; |
| | | //生成token |
| | | Map<String, Object> createToken(String captcha); |
| | | |
| | | MemberInfoVo getMemberInfo(); |
| | | //根据输入的邀请码判断是否是会员 |
| | | Boolean isMember(String inviteId); |
| | | //根据邀请码判断会员之间是否有推荐关系 |
| | | Boolean isRelationShip(String inviteIdOut,String inviteIdIn); |
| | | |
| | | void resetTransferCode(Long id); |
| | | |
| | | void resetPassword(Long id); |
| | | |
| | | Boolean validateTransferCode(String transferCode,Long memberId); |
| | | |
| | | IPage<ApiAmountChangeListVo> findAmountInPage(ApiAmountChangeDto apiAmountChangeDto); |
| | | |
| | | FebsResponse addTeammate(ApiAddTeammateDto apiAddTeammateDto); |
| | | |
| | | IPage<ApiMyTeammateInfoListVo> myTeammateInfo(ApiMyTeammateInfoDto apiMyTeammateInfoDto); |
| | | |
| | | FebsResponse amountType(); |
| | | |
| | | IPage<ApiMyTeammateAmountChangeListVo> findTeammateChangeListInPage(ApiAmountChangeDto apiAmountChangeDto); |
| | | |
| | | IPage<ApiBankListVo> getBankListInPage(ApiBankListDto apiBankListDto); |
| | | } |