xuhy
2023-03-23 ed79668a9a0d49f0f532c6e603a821eb508085bf
driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IDriverService.java
@@ -119,4 +119,43 @@
     * 清空司机积分
     */
    void emptyIntegral();
    /**
     * 司机账户余额充值
     * @param uid
     * @param amount
     * @return
     * @throws Exception
     */
    ResultUtil balanceRecharge(Integer uid, Double amount) throws Exception;
    /**
     * 支付回调通知处理
     * @param out_trade_no
     * @throws Exception
     */
    void balanceRechargeCallback(String out_trade_no, String transaction_id) throws Exception;
    /**
     * 修改密码
     * @param uid
     * @param oldPass
     * @param newPass
     * @return
     * @throws Exception
     */
    ResultUtil updatePassword(Integer uid, String oldPass, String newPass) throws Exception;
    /**
     * 设置密码
     * @param uid
     * @param password
     * @return
     * @throws Exception
     */
    ResultUtil recoverPassword(Integer uid, String password) throws Exception;
}