package com.jpsoft.shinestar.modules.base.service;

/**
 * @author 墨鱼_mo
 * @date 2020-6-1 8:58
 */
public interface TransferService {


    /**
     * 零钱到企业
     * @param openId
     * @param amount
     * @return
     * @throws Exception
     */
    Boolean transfer(String openId, String amount) throws Exception;

    /**
     *微信退款
     * @param outOrderNo
     * @return
     * @throws Exception
     */
    Boolean refund(String outOrderNo) throws Exception;

    /**
     * 支付宝退款
     * @param outOrderNo
     * @return
     * @throws Exception
     */
    Boolean aliPayRefund(String outOrderNo) throws Exception;
}
