xiaoyong931011
2023-06-04 f922185560da4b4001268d5a32ae6319e21a903f
src/main/java/cc/mrbird/febs/dapp/service/DappMemberService.java
@@ -1,24 +1,81 @@
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.DappMemberEntity;
import cc.mrbird.febs.dapp.entity.DappSystemProfit;
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.util.List;
import java.util.Map;
public interface DappMemberService extends IService<DappMemberEntity> {
    void approve(ApproveDto approveDto);
    boolean 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 changeAble(Long id);
    void withdrawAble(Long id);
    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);
    TeamListVo findTeamList();
    void setSystemFee(AdminSystemFeeVo adminSystemFeeVo);
    ApiRunListInfoVo findRunListInfo();
    IPage<AdminDappSystemProfitVo> selectSystemProfitInPage(DappSystemProfit dappSystemProfit, QueryRequest request);
    IPage<AdminSystemProfitFlowListVo> getSystemProfitFlowList(DappSystemProfit dappSystemProfit, QueryRequest request);
    IPage<AdminTeamInfoVo> getTeamInfo(DappMemberEntity dappMemberEntity, QueryRequest request);
    /**
     * 获取节点信息
     * @return
     */
    FebsResponse getNodeInfo();
    FebsResponse getMemberNode();
    FebsResponse getMemberInfo();
    IPage<DappMemberNodeVo> getMemberNodeInfo(DappMemberEntity dappMemberEntity, QueryRequest request);
    String aKLine(AKLineDto aKLineDto);
    MyInviteInfoVo findInviteInfo();
    FebsResponse getFundFlowInfo();
    FebsResponse insideWithYes(Long id);
    FebsResponse insideWithNo(Long id);
    List<AdminAgentLevelOptionTreeVo> getAgentLevelOption();
    FebsResponse agentLevelSetUpdate(AgentLevelSetUpdateDto agentLevelSetUpdateDto);
}