From 5a1cc511d0a16970d5d56fad3cfeaab8f0d903d2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 15:19:40 +0800
Subject: [PATCH] 提交
---
wechat_jiaxuan/pages/detailDis/product.js | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/wechat_jiaxuan/pages/detailDis/product.js b/wechat_jiaxuan/pages/detailDis/product.js
index c62e89e..2827a2e 100644
--- a/wechat_jiaxuan/pages/detailDis/product.js
+++ b/wechat_jiaxuan/pages/detailDis/product.js
@@ -15,7 +15,6 @@
member: {},
showShare: false
},
-
/**
* 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
*/
@@ -24,7 +23,7 @@
this.setData({
bottomLift: app.bottomLift
})
- this.getDetail(options.id)
+ this.getDetail(options.id, options.userId || '')
actionDo({
actionType: 'view',
id: options.id
@@ -53,9 +52,9 @@
})
})
},
- getDetail(id) {
+ getDetail(id, userId) {
getProductInfo({
- id
+ id, salesId: userId || null
}).then(res => {
this.setData({
info: res.data
--
Gitblit v1.9.3