Commit f74cd1d4 by 吕明尚

月卡,次卡后台管理系统

parent b5398f33
import request from '@/utils/request'
// 查询用户月卡列表
export function listConsumerMonthlyCard(query) {
return request({
url: '/system/consumerMonthlyCard/list',
method: 'get',
params: query
})
}
// 查询用户月卡详细
export function getConsumerMonthlyCard(id) {
return request({
url: '/system/consumerMonthlyCard/' + id,
method: 'get'
})
}
// 新增用户月卡
export function addConsumerMonthlyCard(data) {
return request({
url: '/system/consumerMonthlyCard',
method: 'post',
data: data
})
}
// 修改用户月卡
export function updateConsumerMonthlyCard(data) {
return request({
url: '/system/consumerMonthlyCard',
method: 'put',
data: data
})
}
// 删除用户月卡
export function delConsumerMonthlyCard(id) {
return request({
url: '/system/consumerMonthlyCard/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询用户次卡列表
export function listConsumerSecondaryCard(query) {
return request({
url: '/system/consumerSecondaryCard/list',
method: 'get',
params: query
})
}
// 查询用户次卡详细
export function getConsumerSecondaryCard(id) {
return request({
url: '/system/consumerSecondaryCard/' + id,
method: 'get'
})
}
// 新增用户次卡
export function addConsumerSecondaryCard(data) {
return request({
url: '/system/consumerSecondaryCard',
method: 'post',
data: data
})
}
// 修改用户次卡
export function updateConsumerSecondaryCard(data) {
return request({
url: '/system/consumerSecondaryCard',
method: 'put',
data: data
})
}
// 删除用户次卡
export function delConsumerSecondaryCard(id) {
return request({
url: '/system/consumerSecondaryCard/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询月卡配置列表
export function listMonthlyCardConf(query) {
return request({
url: '/system/monthlyCardConf/list',
method: 'get',
params: query
})
}
// 查询月卡配置详细
export function getMonthlyCardConf(id) {
return request({
url: '/system/monthlyCardConf/' + id,
method: 'get'
})
}
// 新增月卡配置
export function addMonthlyCardConf(data) {
return request({
url: '/system/monthlyCardConf',
method: 'post',
data: data
})
}
// 修改月卡配置
export function updateMonthlyCardConf(data) {
return request({
url: '/system/monthlyCardConf',
method: 'put',
data: data
})
}
// 删除月卡配置
export function delMonthlyCardConf(id) {
return request({
url: '/system/monthlyCardConf/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询月卡使用记录列表
export function listMonthlyCardLog(query) {
return request({
url: '/system/monthlyCardLog/list',
method: 'get',
params: query
})
}
// 查询月卡使用记录详细
export function getMonthlyCardLog(id) {
return request({
url: '/system/monthlyCardLog/' + id,
method: 'get'
})
}
// 新增月卡使用记录
export function addMonthlyCardLog(data) {
return request({
url: '/system/monthlyCardLog',
method: 'post',
data: data
})
}
// 修改月卡使用记录
export function updateMonthlyCardLog(data) {
return request({
url: '/system/monthlyCardLog',
method: 'put',
data: data
})
}
// 删除月卡使用记录
export function delMonthlyCardLog(id) {
return request({
url: '/system/monthlyCardLog/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询月卡订单列表
export function listMonthlyCardOrder(query) {
return request({
url: '/system/monthlyCardOrder/list',
method: 'get',
params: query
})
}
// 查询月卡订单详细
export function getMonthlyCardOrder(id) {
return request({
url: '/system/monthlyCardOrder/' + id,
method: 'get'
})
}
// 新增月卡订单
export function addMonthlyCardOrder(data) {
return request({
url: '/system/monthlyCardOrder',
method: 'post',
data: data
})
}
// 修改月卡订单
export function updateMonthlyCardOrder(data) {
return request({
url: '/system/monthlyCardOrder',
method: 'put',
data: data
})
}
// 删除月卡订单
export function delMonthlyCardOrder(id) {
return request({
url: '/system/monthlyCardOrder/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询次卡配置列表
export function listSecondaryCardConf(query) {
return request({
url: '/system/secondaryCardConf/list',
method: 'get',
params: query
})
}
// 查询次卡配置详细
export function getSecondaryCardConf(id) {
return request({
url: '/system/secondaryCardConf/' + id,
method: 'get'
})
}
// 新增次卡配置
export function addSecondaryCardConf(data) {
return request({
url: '/system/secondaryCardConf',
method: 'post',
data: data
})
}
// 修改次卡配置
export function updateSecondaryCardConf(data) {
return request({
url: '/system/secondaryCardConf',
method: 'put',
data: data
})
}
// 删除次卡配置
export function delSecondaryCardConf(id) {
return request({
url: '/system/secondaryCardConf/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询次卡使用记录列表
export function listSecondaryCardLog(query) {
return request({
url: '/system/secondaryCardLog/list',
method: 'get',
params: query
})
}
// 查询次卡使用记录详细
export function getSecondaryCardLog(id) {
return request({
url: '/system/secondaryCardLog/' + id,
method: 'get'
})
}
// 新增次卡使用记录
export function addSecondaryCardLog(data) {
return request({
url: '/system/secondaryCardLog',
method: 'post',
data: data
})
}
// 修改次卡使用记录
export function updateSecondaryCardLog(data) {
return request({
url: '/system/secondaryCardLog',
method: 'put',
data: data
})
}
// 删除次卡使用记录
export function delSecondaryCardLog(id) {
return request({
url: '/system/secondaryCardLog/' + id,
method: 'delete'
})
}
import request from '@/utils/request'
// 查询次卡购买记录列表
export function listSecondaryCardOrder(query) {
return request({
url: '/system/secondaryCardOrder/list',
method: 'get',
params: query
})
}
// 查询次卡购买记录详细
export function getSecondaryCardOrder(id) {
return request({
url: '/system/secondaryCardOrder/' + id,
method: 'get'
})
}
// 新增次卡购买记录
export function addSecondaryCardOrder(data) {
return request({
url: '/system/secondaryCardOrder',
method: 'post',
data: data
})
}
// 修改次卡购买记录
export function updateSecondaryCardOrder(data) {
return request({
url: '/system/secondaryCardOrder',
method: 'put',
data: data
})
}
// 删除次卡购买记录
export function delSecondaryCardOrder(id) {
return request({
url: '/system/secondaryCardOrder/' + id,
method: 'delete'
})
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment