From 643ddd2abd964cdf727329d601fbec07d458e661 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 01 八月 2024 10:27:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_jiaxuan/app.js | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/wechat_jiaxuan/app.js b/wechat_jiaxuan/app.js
index 50a7179..10dab9b 100644
--- a/wechat_jiaxuan/app.js
+++ b/wechat_jiaxuan/app.js
@@ -10,7 +10,7 @@
App({
globalData,
onLaunch: function (op) {
- console.log('options', op.query.scene)
+ console.log('options', op.query)
let pathMap = [
'/pages/detailDis/product',
'/pages/detailDis/case',
@@ -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