From cf0e211182e3acb9211305681f3f1635904e859b Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Sat, 7 Dec 2024 17:05:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=8C=85=E5=8F=B0=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=EF=BC=8C=E5=8A=9F=E8=83=BD=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/invest/iitem.js | 52 ++++ src/api/invest/ilog.js | 44 +++ src/api/invest/ishop.js | 51 ++++ src/api/invest/iuser.js | 79 ++++++ src/views/invest/iitem/index.vue | 115 ++++++++ src/views/invest/ilog/index.vue | 262 ++++++++++++++++++ src/views/invest/ishop/index.vue | 124 +++++++++ src/views/invest/iuser/index.vue | 457 +++++++++++++++++++++++++++++++ 8 files changed, 1184 insertions(+) create mode 100644 src/api/invest/iitem.js create mode 100644 src/api/invest/ilog.js create mode 100644 src/api/invest/ishop.js create mode 100644 src/api/invest/iuser.js create mode 100644 src/views/invest/iitem/index.vue create mode 100644 src/views/invest/ilog/index.vue create mode 100644 src/views/invest/ishop/index.vue create mode 100644 src/views/invest/iuser/index.vue diff --git a/src/api/invest/iitem.js b/src/api/invest/iitem.js new file mode 100644 index 0000000..dbe5f0e --- /dev/null +++ b/src/api/invest/iitem.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +// 查询预约项目列表 +export function listIitem(query) { + return request({ + url: '/invest/iitem/list', + method: 'get', + params: query + }) +} + +// 查询预约项目详细 +export function getIitem(itemId) { + return request({ + url: '/invest/iitem/' + itemId, + method: 'get' + }) +} + +// 新增预约项目 +export function addIitem(data) { + return request({ + url: '/invest/iitem', + method: 'post', + data + }) +} + +// 修改预约项目 +export function updateIitem(data) { + return request({ + url: '/invest/iitem', + method: 'put', + data + }) +} + +// 删除预约项目 +export function delIitem(itemId) { + return request({ + url: '/invest/iitem/' + itemId, + method: 'delete' + }) +} + +// 刷新i茅台预约商品列表 +export function refreshItem(itemId) { + return request({ + url: '/invest/iitem/refresh', + method: 'get' + }) +} diff --git a/src/api/invest/ilog.js b/src/api/invest/ilog.js new file mode 100644 index 0000000..743da40 --- /dev/null +++ b/src/api/invest/ilog.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询操作日志列表 +export function listIlog(query) { + return request({ + url: '/invest/ilog/list', + method: 'get', + params: query + }) +} + +// 查询操作日志详细 +export function getIlog(logId) { + return request({ + url: '/invest/ilog/' + logId, + method: 'get' + }) +} + +// 新增操作日志 +export function addIlog(data) { + return request({ + url: '/invest/ilog', + method: 'post', + data + }) +} + +// 修改操作日志 +export function updateIlog(data) { + return request({ + url: '/invest/ilog', + method: 'put', + data + }) +} + +// 删除操作日志 +export function delIlog(logId) { + return request({ + url: '/invest/ilog/' + logId, + method: 'delete' + }) +} diff --git a/src/api/invest/ishop.js b/src/api/invest/ishop.js new file mode 100644 index 0000000..a9a68d0 --- /dev/null +++ b/src/api/invest/ishop.js @@ -0,0 +1,51 @@ +import request from '@/utils/request' + +// 查询门店列表列表 +export function listIshop(query) { + return request({ + url: '/invest/ishop/list', + method: 'get', + params: query + }) +} + +// 查询门店列表详细 +export function getIshop(shopId) { + return request({ + url: '/invest/ishop/' + shopId, + method: 'get' + }) +} + +// 新增门店列表 +export function addIshop(data) { + return request({ + url: '/invest/ishop', + method: 'post', + data + }) +} + +// 修改门店列表 +export function updateIshop(data) { + return request({ + url: '/invest/ishop', + method: 'put', + data + }) +} + +// 删除门店列表 +export function delIshop(shopId) { + return request({ + url: '/invest/ishop/' + shopId, + method: 'delete' + }) +} +// i茅台商品 +export function refreshShop() { + return request({ + url: '/invest/ishop/refresh', + method: 'get' + }) +} diff --git a/src/api/invest/iuser.js b/src/api/invest/iuser.js new file mode 100644 index 0000000..51cf306 --- /dev/null +++ b/src/api/invest/iuser.js @@ -0,0 +1,79 @@ +import request from '@/utils/request' + +// 查询用户管理列表 +export function listIuser(query) { + return request({ + url: '/invest/iuser/list', + method: 'get', + params: query + }) +} + +// 查询用户管理详细 +export function getIuser(mobile) { + return request({ + url: '/invest/iuser/' + mobile, + method: 'get' + }) +} + +// 新增用户管理 +export function addIuser(data) { + return request({ + url: '/invest/iuser', + method: 'post', + data + }) +} + +// 修改用户管理 +export function updateIuser(data) { + return request({ + url: '/invest/iuser', + method: 'put', + data + }) +} + +// 删除用户管理 +export function delIuser(mobile) { + return request({ + url: '/invest/iuser/' + mobile, + method: 'delete' + }) +} + +// reservation +export function reservation(mobile) { + return request({ + url: '/invest/iuser/reservation', + method: 'get', + params: { mobile } + }) +} +//travelReward +export function travelReward(mobile) { + return request({ + url: '/invest/iuser/travelReward', + method: 'get', + params: { mobile } + }) +} + +// 发送验证码 +export function sendCode(mobile, deviceId) { + return request({ + url: '/invest/iuser/sendCode', + method: 'get', + params: { mobile, deviceId } + }) +} + +// 查询I茅台用户列表 +export function login(mobile, code, deviceId) { + return request({ + url: '/invest/iuser/login', + method: 'get', + params: { mobile, code, deviceId } + }) +} diff --git a/src/views/invest/iitem/index.vue b/src/views/invest/iitem/index.vue new file mode 100644 index 0000000..3ed419a --- /dev/null +++ b/src/views/invest/iitem/index.vue @@ -0,0 +1,115 @@ + + + diff --git a/src/views/invest/ilog/index.vue b/src/views/invest/ilog/index.vue new file mode 100644 index 0000000..62ef840 --- /dev/null +++ b/src/views/invest/ilog/index.vue @@ -0,0 +1,262 @@ + + + diff --git a/src/views/invest/ishop/index.vue b/src/views/invest/ishop/index.vue new file mode 100644 index 0000000..1619493 --- /dev/null +++ b/src/views/invest/ishop/index.vue @@ -0,0 +1,124 @@ + + + diff --git a/src/views/invest/iuser/index.vue b/src/views/invest/iuser/index.vue new file mode 100644 index 0000000..05c6156 --- /dev/null +++ b/src/views/invest/iuser/index.vue @@ -0,0 +1,457 @@ + + +