package org.dromara.mp.service;

import org.dromara.mp.domain.vo.SettlementChannelVo;
import org.dromara.mp.domain.vo.UserWorkerAccountVo;
import org.dromara.system.api.domain.vo.RemoteDictDataVo;

import java.util.List;

/**
 * @author sunzexing
 * @version 1.0
 * @title ISettlementAccountService
 * @description 个人中心-结算账户
 * @create 2024-05-08 14:10
 */
public interface ISettlementAccountService {


    /***
     * 获取结算渠道
     * @return
     */
    List<SettlementChannelVo> getSettleChannel();

    /***
     * 获取银行列表
     * @param bankName
     * @return
     */
    List getBankList(String bankName);


    /****
     * 添加结算账户
     * @param bankType
     * @param name
     * @param bankCard
     * @param channelName
     * @param phone
     * @param bankPic
     * @return
     */
    int addAccount(String bankType, String name, String bankCard,String channelName,String phone,
                          String bankPic,String cardType);


    /****
     * 获取银行卡详情
     * @param id
     * @return
     */
    UserWorkerAccountVo getBankDetail(Long id);
}
