mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
新增 运营商--分润会员对应关系表、实体、Service
This commit is contained in:
44
jsowell-ui/src/api/pile/shareprofitGroup.js
Normal file
44
jsowell-ui/src/api/pile/shareprofitGroup.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询运营商分润组列表
|
||||
export function listGroup(query) {
|
||||
return request({
|
||||
url: '/pile/shareprofitGroup/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询运营商分润组详细
|
||||
export function getGroup(id) {
|
||||
return request({
|
||||
url: '/pile/shareprofitGroup/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增运营商分润组
|
||||
export function addGroup(data) {
|
||||
return request({
|
||||
url: '/pile/shareprofitGroup',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改运营商分润组
|
||||
export function updateGroup(data) {
|
||||
return request({
|
||||
url: '/pile/shareprofitGroup',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除运营商分润组
|
||||
export function delGroup(id) {
|
||||
return request({
|
||||
url: '/pile/shareprofitGroup/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user