第一次提交
This commit is contained in:
24
api/love-profit.js
Normal file
24
api/love-profit.js
Normal file
@@ -0,0 +1,24 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user