From 4ef596d01daae88af3f6afd36f11bc0f51a4de45 Mon Sep 17 00:00:00 2001
From: zpian <407488026@qq.com>
Date: Fri, 2 Feb 2024 16:33:40 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A0=B8=E9=94=80=E5=8A=9F=E8=83=BD=E7=9A=84?=
=?UTF-8?q?=E5=AE=8C=E5=96=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/user.js | 2 +-
config/app.js | 8 +-
pages/users/write_off/index.vue | 296 +++++++++++++++++++++-----------
3 files changed, 205 insertions(+), 101 deletions(-)
diff --git a/api/user.js b/api/user.js
index c821dc0..503b79f 100644
--- a/api/user.js
+++ b/api/user.js
@@ -705,7 +705,7 @@ export function createQRcode(data) {
}
// 完成核销操作
export function writeOff(data) {
- return request.post("coupon/writeOff", data);
+ return request.post("coupon/write_off", data);
}
diff --git a/config/app.js b/config/app.js
index 6a45260..e76d97b 100644
--- a/config/app.js
+++ b/config/app.js
@@ -6,13 +6,13 @@ let VUE_APP_WS_URL = `ws://${location.hostname}?type=user`
let openPlantGrass = '-openPlantGrass-'
// 网络接口修改此字符 小程序域名要求https
-// let httpApi = 'https://bt.test.cdlfjy.com/' // 开发
-let httpApi = 'https://mp.scwmbh.cn/' // 生产
+let httpApi = 'https://bt.test.cdlfjy.com/' // 开发
+// let httpApi = 'https://mp.scwmbh.cn/' // 生产
// 聊天接口修改此字符 小程序聊天要求wss 例如:
-// let wsApi = 'wss://bt.test.cdlfjy.com'
-let wsApi = 'wss://mp.scwmbh.cn'
+let wsApi = 'wss://bt.test.cdlfjy.com'
+// let wsApi = 'wss://mp.scwmbh.cn'
module.exports = {
diff --git a/pages/users/write_off/index.vue b/pages/users/write_off/index.vue
index 2fa9b87..137acb6 100644
--- a/pages/users/write_off/index.vue
+++ b/pages/users/write_off/index.vue
@@ -1,14 +1,15 @@
-
+
+
@@ -28,71 +29,139 @@
-
+
\ No newline at end of file