Files
kra-new/web/src/api/activation.js
T

10 lines
834 B
JavaScript

import service from '@/utils/businessRequest'
export const listChannelActivations = (params) => service({ url: '/sw/promoteActivePool/bindList', method: 'get', params })
export const getActivationSpend = (id, options = {}) => service({ ...options, url: '/sw/promoteActivePool/bindSpendDetail', method: 'get', params: { id } })
export const listActivationPool = (params, options = {}) => service({ ...options, url: '/sw/promoteActivePool/pool', method: 'get', params })
export const listActivationOptions = () => service({ url: '/sw/promoteActivePool/options', method: 'get' })
export const applyActivation = (data) => service({ url: '/sw/promoteActivePool/apply', method: 'post', data })
export const listActivationChurn = (params, options = {}) => service({ ...options, url: '/sw/promoteActivePool/churn', method: 'get', params })