25 lines
618 B
JavaScript
25 lines
618 B
JavaScript
import http from './index.js';
|
|
|
|
// 分页查询收益明细
|
|
export const pageProfit = (params) => http.get('/love/profit/page', {params})
|
|
|
|
// 分页查询收益明细
|
|
export const listProfit = (params) => http.get('/love/profit', {params})
|
|
|
|
// 查询收益明细
|
|
export const getProfit = (balanceLogId) => http.get('/love/profit/' + balanceLogId)
|
|
|
|
// 添加收益明细
|
|
export const addProfit = (data) => http.post('/love/profit', data)
|
|
|
|
// 删除收益明细
|
|
export const removeProfit = (id) => http.get('/love/profit/remove/' + id)
|
|
|
|
export default {
|
|
pageProfit,
|
|
listProfit,
|
|
getProfit,
|
|
addProfit,
|
|
removeProfit
|
|
}
|