新增 后管页面运营商--分润人配置管理

This commit is contained in:
Lemon
2024-09-13 15:40:13 +08:00
parent f8d83b0f2c
commit 09a8709618
4 changed files with 402 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询运营商--分润人关系列表
export function listRelation(query) {
return request({
url: '/pile/shareprofitRelation/list',
method: 'get',
params: query
})
}
// 查询运营商--分润人关系详细
export function getRelation(id) {
return request({
url: '/pile/shareprofitRelation/' + id,
method: 'get'
})
}
// 新增运营商--分润人关系
export function addRelation(data) {
return request({
url: '/pile/shareprofitRelation',
method: 'post',
data: data
})
}
// 修改运营商--分润人关系
export function updateRelation(data) {
return request({
url: '/pile/shareprofitRelation',
method: 'put',
data: data
})
}
// 删除运营商--分润人关系
export function delRelation(id) {
return request({
url: '/pile/shareprofitRelation/' + id,
method: 'delete'
})
}