From bc781ce2922f853f72278f4d9b5ecec741ac14a2 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Fri, 23 May 2025 02:51:00 +0800 Subject: [PATCH] sc --- .env.base | 4 +- src/api/customer/customer.js | 7 ++ src/api/xjapplet/resell.js | 7 ++ src/api/xjapplet/vip.js | 7 ++ src/views/Customer/AppletUser/index.vue | 43 +++---- .../Customer/Vip/components/Recharge.vue | 110 +++++------------- src/views/Customer/Vip/components/VipType.vue | 4 +- src/views/Customer/Vip/components/VipUser.vue | 4 +- 8 files changed, 74 insertions(+), 112 deletions(-) diff --git a/.env.base b/.env.base index 5a22736..0552a5a 100644 --- a/.env.base +++ b/.env.base @@ -6,9 +6,9 @@ VITE_DEV=true # 请求路径 # VITE_BASE_URL='http://localhost:48080' -VITE_BASE_URL='http://47.98.161.246:48080' +# VITE_BASE_URL='http://47.98.161.246:48080' # VITE_BASE_URL='http://114.55.169.15:48080' -# VITE_BASE_URL='http://114.215.207.150:48080' +VITE_BASE_URL='http://114.215.207.150:48080' # 上传路径 VITE_UPLOAD_URL='http://47.98.161.246:48080/admin-api/system/file/upload' diff --git a/src/api/customer/customer.js b/src/api/customer/customer.js index 16ed286..a83b1b8 100644 --- a/src/api/customer/customer.js +++ b/src/api/customer/customer.js @@ -30,3 +30,10 @@ export const getCustomerExamCarType = () => { export const importStudent = async (data) => { return await request.upload({ url: '/admin-api/applet/xunjia/user/import', data }) } + +export const getAppletUserList = async (params) => { + return await request.get({ + url: '/admin-api/applet/xunjia/user/pageList', + params: params + }) +} diff --git a/src/api/xjapplet/resell.js b/src/api/xjapplet/resell.js index 4042167..dc7975d 100644 --- a/src/api/xjapplet/resell.js +++ b/src/api/xjapplet/resell.js @@ -30,3 +30,10 @@ export const getResellDetail = async (id) => { url: '/admin-api/applet/xunjia/distribution/' + id }) } + +export const getResellSimpleList = async (params) => { + return await request.get({ + url: '/admin-api/applet/xunjia/distribution/simple-list', + params: params + }) +} diff --git a/src/api/xjapplet/vip.js b/src/api/xjapplet/vip.js index 5581edd..f3685a0 100644 --- a/src/api/xjapplet/vip.js +++ b/src/api/xjapplet/vip.js @@ -47,3 +47,10 @@ export const getVipTypeOptions = async (params) => { params: params }) } + +export const getRechargeRecords = async (params) => { + return await request.get({ + url: '/admin-api/applet/xunjia/pay/list', + params: params + }) +} diff --git a/src/views/Customer/AppletUser/index.vue b/src/views/Customer/AppletUser/index.vue index 7a43666..a8ac85d 100644 --- a/src/views/Customer/AppletUser/index.vue +++ b/src/views/Customer/AppletUser/index.vue @@ -11,7 +11,7 @@ - - + + diff --git a/src/views/Customer/Vip/components/VipType.vue b/src/views/Customer/Vip/components/VipType.vue index beb17b2..7f18d99 100644 --- a/src/views/Customer/Vip/components/VipType.vue +++ b/src/views/Customer/Vip/components/VipType.vue @@ -6,8 +6,8 @@ - 小车 - 摩托车 + 小车 + 摩托车 diff --git a/src/views/Customer/Vip/components/VipUser.vue b/src/views/Customer/Vip/components/VipUser.vue index fe5401f..5b8a00b 100644 --- a/src/views/Customer/Vip/components/VipUser.vue +++ b/src/views/Customer/Vip/components/VipUser.vue @@ -6,8 +6,8 @@ - 小车 - 摩托车 + 小车 + 摩托车