import { request, goCommonSearchUrl } from '@/services/request/index'; import * as type from './interface'; /** * 资金流水查询(当前) * @param params QueryAmountLogParam * @returns */ export function QueryAmountLog(params: type.QueryAmountLogParam): Promise { return request({ method: 'get', url: goCommonSearchUrl('/TaAccount/QueryAmountLog'), params, }) .then((value) => value.data.data) .catch((err) => Promise.reject(err)); } /** * 资金流水查询(当前) * @param params QueryAmountLogParam * @returns */ export function QueryHisAmountLog(params: type.QueryHisAmountLogParam): Promise { return request({ method: 'get', url: goCommonSearchUrl('/TaAccount/QueryHisAmountLog'), params, }) .then((value) => value.data.data) .catch((err) => Promise.reject(err)); }