import {
  approveWithdrawalApplyType,
  listPageWithdrawalApplyType,
} from '~/api/interface/depleteManageType';
import axios from '~/api/request';

export class DepleteManageTypeAPI {
  // 提现列表
  static getListPageWithdrawalApply: listPageWithdrawalApplyType = (data) =>
    axios.post('/userapp/withdrawal/listPageWithdrawalApply', data);
  //提现审批
  static approveWithdrawalApply: approveWithdrawalApplyType = (params) =>
    axios.get('/userapp/withdrawal/approveWithdrawalApply', { params });
}
