This commit is contained in:
dute7liang
2024-01-19 21:10:04 +08:00
parent b8ba8e8ce7
commit 3e45791613
3 changed files with 30 additions and 17 deletions

View File

@@ -26,21 +26,12 @@ export function getConsumeLogTraceId(traceId) {
})
}
// 新增分销记录
export function addConsumeLog(data) {
return request({
url: '/cai/consumeLog',
method: 'post',
data: data
})
}
// 修改分销记录
export function updateConsumeLog(data) {
export function fenxiaoConsumeLog(id) {
return request({
url: '/cai/consumeLog',
method: 'put',
data: data
url: '/cai/consumeLog/consumer',
method: 'get',
params: {id}
})
}