package com.supersavedriving.driver.modular.system.service;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.supersavedriving.driver.modular.system.model.CashWithdrawal;
|
import com.supersavedriving.driver.modular.system.util.MallBook.model.InterfaceResponse;
|
import com.supersavedriving.driver.modular.system.util.ResultUtil;
|
|
|
/**
|
* @author zhibing.pu
|
* @date 2023/3/18 17:03
|
*/
|
public interface ICashWithdrawalService extends IService<CashWithdrawal> {
|
|
|
/**
|
* 司机提现申请
|
* @param bankId
|
* @param money
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil withdrawCash(Integer driverId, Integer type, Integer bankId, Double money) throws Exception;
|
|
|
/**
|
* 提现异步回调
|
* @param interfaceResponse
|
*/
|
void withdrawCashFZCallback(InterfaceResponse interfaceResponse);
|
|
|
/**
|
* 提现确认收货后的结算回调
|
* @param interfaceResponse
|
*/
|
void withdrawCashCallback(InterfaceResponse interfaceResponse);
|
}
|