New file |
| | |
| | | package com.stylefeng.guns.modular.system.service; |
| | | |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.stylefeng.guns.modular.system.model.Driver; |
| | | import com.stylefeng.guns.modular.system.model.DriverAlipay; |
| | | import com.stylefeng.guns.modular.system.util.ResultUtil; |
| | | import com.stylefeng.guns.modular.system.warpper.ActivityWarpper; |
| | | import com.stylefeng.guns.modular.system.warpper.BaseWarpper; |
| | | import com.stylefeng.guns.modular.system.warpper.LoginWarpper; |
| | | import com.stylefeng.guns.modular.system.warpper.RegisteredWarpper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public interface IDriverAlipayService extends IService<DriverAlipay> { |
| | | |
| | | /** |
| | | * 保存支付宝信息 |
| | | * @param userName |
| | | * @param account |
| | | * @param driverId |
| | | * @return |
| | | */ |
| | | ResultUtil saveAlipay(String userName, String account, Integer driverId); |
| | | |
| | | /** |
| | | * 修改支付宝信息 |
| | | * @param id |
| | | * @param userName |
| | | * @param account |
| | | * @param driverId |
| | | * @return |
| | | */ |
| | | ResultUtil updateAlipay(Integer id, String userName, String account, Integer driverId); |
| | | |
| | | /** |
| | | * 删除支付宝信息 |
| | | * @param id |
| | | * @param driverId |
| | | * @return |
| | | */ |
| | | ResultUtil delAlipay(Integer id, Integer driverId); |
| | | |
| | | |
| | | /** |
| | | * 获取支付宝信息列表 |
| | | * @param pageNum |
| | | * @param size |
| | | * @param driverId |
| | | * @return |
| | | */ |
| | | List<DriverAlipay> queryAlipay(Integer pageNum, Integer size, Integer driverId); |
| | | |
| | | /** |
| | | * 提现 |
| | | * @param money |
| | | * @param id |
| | | * @param uid |
| | | * @param type |
| | | * @return |
| | | */ |
| | | ResultUtil aliWithdrawal(Double money, Integer id, Integer uid, Integer type); |
| | | |
| | | } |