From dd8cb88d4f9c805b0e5e46fdd195fd57fd75644b Mon Sep 17 00:00:00 2001
From: cshenfu <men883234@gmail.com>
Date: 星期五, 12 五月 2023 09:30:03 +0800
Subject: [PATCH] add jweixin-modules

---
 package-lock.json |   11 +++++++++++
 package.json      |    1 +
 common/config.js  |    8 ++++----
 pages/vip/vip.vue |    8 ++++++--
 4 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/common/config.js b/common/config.js
index 427e785..6670741 100755
--- a/common/config.js
+++ b/common/config.js
@@ -1,10 +1,10 @@
 let setting = {
   // base_url: 'http://192.168.0.104:8998', // 鏈湴璋冭瘯
   // ws: 'ws://192.168.0.104:7272',  // 鏈湴socket
-	// base_url: 'https://newgpt.nauzone.cn',
-	// ws: 'wss://newgpt.nauzone.cn/wss',
-	base_url: 'http://ai.shsening.com',
-	ws: 'ws://ai.shsening.com/wss',
+	base_url: 'https://newgpt.nauzone.cn',
+	ws: 'wss://newgpt.nauzone.cn/wss',
+	// base_url: 'http://ai.shsening.com',
+	// ws: 'ws://ai.shsening.com/wss',
 	official_accounts_appid: 'wxa447f988edc97797'
 }
 
diff --git a/package-lock.json b/package-lock.json
index 07cb7d5..84778bc 100755
--- a/package-lock.json
+++ b/package-lock.json
@@ -6,6 +6,7 @@
     "": {
       "dependencies": {
         "axios": "^1.3.5",
+        "jweixin-module": "^1.6.0",
         "vconsole": "^3.15.0"
       },
       "devDependencies": {
@@ -105,6 +106,11 @@
       "engines": {
         "node": ">= 6"
       }
+    },
+    "node_modules/jweixin-module": {
+      "version": "1.6.0",
+      "resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz",
+      "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
     },
     "node_modules/mime-db": {
       "version": "1.52.0",
@@ -232,6 +238,11 @@
         "mime-types": "^2.1.12"
       }
     },
+    "jweixin-module": {
+      "version": "1.6.0",
+      "resolved": "https://registry.npmjs.org/jweixin-module/-/jweixin-module-1.6.0.tgz",
+      "integrity": "sha512-dGk9cf+ipipHmtzYmKZs5B2toX+p4hLyllGLF6xuC8t+B05oYxd8fYoaRz0T30U2n3RUv8a4iwvjhA+OcYz52w=="
+    },
     "mime-db": {
       "version": "1.52.0",
       "resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz",
diff --git a/package.json b/package.json
index 35acf2e..c4da76d 100755
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
   },
   "dependencies": {
     "axios": "^1.3.5",
+    "jweixin-module": "^1.6.0",
     "vconsole": "^3.15.0"
   }
 }
diff --git a/pages/vip/vip.vue b/pages/vip/vip.vue
index 546d73d..bde1574 100755
--- a/pages/vip/vip.vue
+++ b/pages/vip/vip.vue
@@ -157,7 +157,9 @@
 									title: "娓╅Θ鎻愮ず",
 									content: "鏉冪泭宸插紑閫氭垚鍔燂紒"
 								})
-								this.$request('/api/Member/checkNum', 'POST').then(re => {
+								this.$request('/api/Member/checkNum', 'POST',{
+									comb_id: this.rechargeOptions[this.current].comb_id
+								}).then(re => {
 									this.data_content3 = re
 									 // 鏇存柊鏁伴噺
 									this.$store.commit('syncUserNum',re.data.num)
@@ -192,7 +194,9 @@
 							title: "娓╅Θ鎻愮ず",
 							content: "鏉冪泭宸插紑閫氭垚鍔燂紒"
 						})
-						this.$request('/api/Member/checkNum', 'POST').then(re => {
+						this.$request('/api/Member/checkNum', 'POST',{
+									comb_id: this.rechargeOptions[this.current].comb_id
+								}).then(re => {
 							 // 鏇存柊鏁伴噺
 							this.$store.commit('syncUserNum',re.data.num)
 						})

--
Gitblit v1.9.1