From 6810c281306cae6e02fbbb1478d780c823d08a33 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 25 七月 2024 11:53:39 +0800
Subject: [PATCH] ‘’

---
 wechat_jiaxuan/pages/detailDis/product.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/wechat_jiaxuan/pages/detailDis/product.js b/wechat_jiaxuan/pages/detailDis/product.js
index a9c7492..2827a2e 100644
--- a/wechat_jiaxuan/pages/detailDis/product.js
+++ b/wechat_jiaxuan/pages/detailDis/product.js
@@ -23,7 +23,7 @@
     this.setData({
       bottomLift: app.bottomLift
     })
-    this.getDetail(options.id)
+    this.getDetail(options.id, options.userId || '')
     actionDo({
       actionType: 'view',
       id: options.id
@@ -52,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