wallet.ts 314 B

123456789101112
  1. import { IPaging, IWallet } from '@/interface';
  2. import request from '@/utils/request';
  3. export function fetchWalletList(params) {
  4. return request.get<IPaging<IWallet>>('/wallet/list', {
  5. params,
  6. });
  7. }
  8. export function fetchMyWallet(params) {
  9. return request.get<IWallet>('/wallet/my_wallet', { params });
  10. }