From f4f2891ac617aca6e2a5f1dc8f86ba3f054e3392 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 01 八月 2024 08:52:35 +0800
Subject: [PATCH] aa
---
wechat_jiaxuan/app.js | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/wechat_jiaxuan/app.js b/wechat_jiaxuan/app.js
index 1aa5ea5..10dab9b 100644
--- a/wechat_jiaxuan/app.js
+++ b/wechat_jiaxuan/app.js
@@ -30,14 +30,13 @@
var userId = null
if (op.query.scene) {
let temp = op.query.scene.split('_')
- userId = temp[2]
+ userId = temp[2]
}
if (res.code) {
//鍙戣捣缃戠粶璇锋眰
wxLoginCustomer({
code: res.code,
- userId
-
+ userId
}).then(res => {
wx.setStorageSync('token', res.data.token)
this.globalData.token = res.data.token
@@ -63,9 +62,7 @@
fail(err) {
console.log(err)
}
- })
-
-
+ })
}
})
--
Gitblit v1.9.3