diff --git a/src/api/xjapplet/discount.js b/src/api/xjapplet/discount.js
index 6cba610..0956658 100644
--- a/src/api/xjapplet/discount.js
+++ b/src/api/xjapplet/discount.js
@@ -27,6 +27,12 @@ export const deleteVipDiscount = async (id) => {
})
}
+export const getVipDiscountOptions = async () => {
+ return await request.get({
+ url: '/admin-api/applet/xunjia/member/discount/simple-list'
+ })
+}
+
export const getUserDiscountList = async (params) => {
return await request.get({
url: '/admin-api/applet/xunjia/user/discount/list',
@@ -36,7 +42,7 @@ export const getUserDiscountList = async (params) => {
export const giveUserDiscount = async (data) => {
return await request.post({
- url: '/admin-api/applet/xunjia/user/discount/add',
+ url: '/admin-api/applet/xunjia/user/discount/send',
data
})
}
diff --git a/src/views/XjApplet/Resell/index.vue b/src/views/XjApplet/Resell/index.vue
index 89a2f88..51510b7 100644
--- a/src/views/XjApplet/Resell/index.vue
+++ b/src/views/XjApplet/Resell/index.vue
@@ -19,10 +19,7 @@
-
+
diff --git a/src/views/XjApplet/Vip/components/UserDiscount.vue b/src/views/XjApplet/Vip/components/UserDiscount.vue
index 5bd272b..1ff621e 100644
--- a/src/views/XjApplet/Vip/components/UserDiscount.vue
+++ b/src/views/XjApplet/Vip/components/UserDiscount.vue
@@ -11,13 +11,18 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
@@ -55,7 +60,12 @@