| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- import request from '@/utils/request';
- import { AxiosPromise } from 'axios';
- import { WithdrawQuery, WithdrawVO } from './types';
- /**
- * 查询余额提现列表
- */
- export function listWithdraw(query: WithdrawQuery): AxiosPromise<WithdrawVO[]> {
- return request({
- url: '/system/withdraw/list',
- method: 'get',
- params: query
- });
- }
- /**
- * 审核通过
- */
- export function auditPassWithdraw(id: string | number, remark?: string) {
- return request({
- url: '/system/withdraw/audit/pass/' + id,
- method: 'post',
- params: {
- remark: remark || ''
- }
- });
- }
- /**
- * 审核驳回
- */
- export function auditRejectWithdraw(id: string | number, remark: string) {
- return request({
- url: '/system/withdraw/audit/reject/' + id,
- method: 'post',
- params: {
- remark
- }
- });
- }
|