import request,{download,requestType} from "@/utils/request";
|
import {BaseEntityInterface} from "@/utils/globalInterface";
|
export interface FundFlowLogI extends BaseEntityInterface{
|
id ?: number , flowId ?: number , createBy ?: string , createTime ?: string , operation ?: string }
|
|
|
/**
|
* 查询资金流水日志列表
|
*/
|
export const listFundFlowLog:requestType = (query) => {
|
return request({
|
url: '/cwgl/fundFlowLog/list',
|
method:'get',
|
params:query
|
})
|
}
|
/**
|
* 查询资金流水日志详细
|
*/
|
export const getFundFlowLog:requestType = (id) => {
|
return request({
|
url: '/cwgl/fundFlowLog/' + id,
|
method:'get'
|
})
|
}
|
|
/**
|
* 新增资金流水日志
|
*/
|
export const addFundFlowLog:requestType = (data) => {
|
return request({
|
url: '/cwgl/fundFlowLog',
|
method: 'post',
|
data
|
})
|
}
|
|
/**
|
* 修改资金流水日志
|
*/
|
export const updateFundFlowLog:requestType = (data) => {
|
return request({
|
url: '/cwgl/fundFlowLog',
|
method: 'put',
|
data
|
})
|
}
|
|
/**
|
* 删除资金流水日志
|
*/
|
export const delFundFlowLog:requestType = (id) => {
|
return request({
|
url: '/cwgl/fundFlowLog/' + id,
|
method: 'delete'
|
})
|
}
|
|
|
/**
|
* 导出资金流水日志
|
*/
|
export const exportFundFlowLog:requestType = (query) => {
|
return new Promise<any>(()=>{
|
download('/cwgl/fundFlowLog/export',query);
|
})
|
}
|