diff --git a/src/api/cai/consumeLog.js b/src/api/cai/consumeLog.js index 0451d64..3c84597 100644 --- a/src/api/cai/consumeLog.js +++ b/src/api/cai/consumeLog.js @@ -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} }) } diff --git a/src/views/cai/accountChangeLog/index.vue b/src/views/cai/accountChangeLog/index.vue index bd8e810..6f50b13 100644 --- a/src/views/cai/accountChangeLog/index.vue +++ b/src/views/cai/accountChangeLog/index.vue @@ -58,9 +58,13 @@ - + + + - + @@ -139,7 +144,7 @@