diff --git a/src/api/system/vip.js b/src/api/system/vip.js new file mode 100644 index 0000000..b7e68f0 --- /dev/null +++ b/src/api/system/vip.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询vip模块列表 +export function listVip(query) { + return request({ + url: '/system/vip/list', + method: 'get', + params: query + }) +} + +// 查询vip模块详细 +export function getVip(id) { + return request({ + url: '/system/vip/' + id, + method: 'get' + }) +} + +// 新增vip模块 +export function addVip(data) { + return request({ + url: '/system/vip', + method: 'post', + data: data + }) +} + +// 修改vip模块 +export function updateVip(data) { + return request({ + url: '/system/vip', + method: 'put', + data: data + }) +} + +// 删除vip模块 +export function delVip(id) { + return request({ + url: '/system/vip/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/twodimension/index.vue b/src/views/system/twodimension/index.vue index bde66f1..1e407c8 100644 --- a/src/views/system/twodimension/index.vue +++ b/src/views/system/twodimension/index.vue @@ -60,17 +60,17 @@ - + - + - + @@ -95,18 +95,81 @@ - + - + - + + vip模块信息 + + + 添加 + + + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +