25 lines
664 B
JavaScript
25 lines
664 B
JavaScript
import http from './index.js';
|
|
|
|
// 分页查询余额明细
|
|
export const pageAgentUser = (params) => http.get('/open/bc-agent/page', {params})
|
|
|
|
// 分页查询余额明细
|
|
export const listAgentUser = (params) => http.get('/open/bc-agent', {params})
|
|
|
|
// 查询余额明细
|
|
export const getAgentUser = (AgentUserId) => http.get('/open/bc-agent/' + AgentUserId)
|
|
|
|
// 添加余额明细
|
|
export const addAgentUser = (data) => http.post('/open/bc-agent', data)
|
|
|
|
// 删除余额明细
|
|
export const removeAgentUser = (id) => http.get('/open/user-balance-log/remove/' + id)
|
|
|
|
export default {
|
|
pageAgentUser,
|
|
listAgentUser,
|
|
getAgentUser,
|
|
addAgentUser,
|
|
removeAgentUser
|
|
}
|