From ab97c1c1a47e647e2809a9567bb91be0bd8f2182 Mon Sep 17 00:00:00 2001 From: xss <2655924100@qq.com> Date: Fri, 6 Dec 2024 12:43:20 +0800 Subject: [PATCH] 3 --- src/api/system/oneone.js | 44 +++++ src/api/system/shop.js | 44 +++++ src/api/system/smalluser.js | 44 +++++ src/views/system/oneone/index.vue | 281 +++++++++++++++++++++++++++ src/views/system/shop/index.vue | 230 ++++++++++++++++++++++ src/views/system/smalluser/index.vue | 241 +++++++++++++++++++++++ 6 files changed, 884 insertions(+) create mode 100644 src/api/system/oneone.js create mode 100644 src/api/system/shop.js create mode 100644 src/api/system/smalluser.js create mode 100644 src/views/system/oneone/index.vue create mode 100644 src/views/system/shop/index.vue create mode 100644 src/views/system/smalluser/index.vue diff --git a/src/api/system/oneone.js b/src/api/system/oneone.js new file mode 100644 index 0000000..37a47e9 --- /dev/null +++ b/src/api/system/oneone.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询动态表列表 +export function listOneone(query) { + return request({ + url: '/system/oneone/list', + method: 'get', + params: query + }) +} + +// 查询动态表详细 +export function getOneone(id) { + return request({ + url: '/system/oneone/' + id, + method: 'get' + }) +} + +// 新增动态表 +export function addOneone(data) { + return request({ + url: '/system/oneone', + method: 'post', + data: data + }) +} + +// 修改动态表 +export function updateOneone(data) { + return request({ + url: '/system/oneone', + method: 'put', + data: data + }) +} + +// 删除动态表 +export function delOneone(id) { + return request({ + url: '/system/oneone/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/shop.js b/src/api/system/shop.js new file mode 100644 index 0000000..96ed8fc --- /dev/null +++ b/src/api/system/shop.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询商城列表 +export function listShop(query) { + return request({ + url: '/system/shop/list', + method: 'get', + params: query + }) +} + +// 查询商城详细 +export function getShop(id) { + return request({ + url: '/system/shop/' + id, + method: 'get' + }) +} + +// 新增商城 +export function addShop(data) { + return request({ + url: '/system/shop', + method: 'post', + data: data + }) +} + +// 修改商城 +export function updateShop(data) { + return request({ + url: '/system/shop', + method: 'put', + data: data + }) +} + +// 删除商城 +export function delShop(id) { + return request({ + url: '/system/shop/' + id, + method: 'delete' + }) +} diff --git a/src/api/system/smalluser.js b/src/api/system/smalluser.js new file mode 100644 index 0000000..792e67c --- /dev/null +++ b/src/api/system/smalluser.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询smalluser列表 +export function listSmalluser(query) { + return request({ + url: '/system/smalluser/list', + method: 'get', + params: query + }) +} + +// 查询smalluser详细 +export function getSmalluser(id) { + return request({ + url: '/system/smalluser/' + id, + method: 'get' + }) +} + +// 新增smalluser +export function addSmalluser(data) { + return request({ + url: '/system/smalluser', + method: 'post', + data: data + }) +} + +// 修改smalluser +export function updateSmalluser(data) { + return request({ + url: '/system/smalluser', + method: 'put', + data: data + }) +} + +// 删除smalluser +export function delSmalluser(id) { + return request({ + url: '/system/smalluser/' + id, + method: 'delete' + }) +} diff --git a/src/views/system/oneone/index.vue b/src/views/system/oneone/index.vue new file mode 100644 index 0000000..8613c51 --- /dev/null +++ b/src/views/system/oneone/index.vue @@ -0,0 +1,281 @@ + + + diff --git a/src/views/system/shop/index.vue b/src/views/system/shop/index.vue new file mode 100644 index 0000000..e36db10 --- /dev/null +++ b/src/views/system/shop/index.vue @@ -0,0 +1,230 @@ + + + diff --git a/src/views/system/smalluser/index.vue b/src/views/system/smalluser/index.vue new file mode 100644 index 0000000..643f919 --- /dev/null +++ b/src/views/system/smalluser/index.vue @@ -0,0 +1,241 @@ + + +