From ca68da636d8ab713ac58972b0e7f681ddc506fa7 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 25 七月 2024 13:47:23 +0800
Subject: [PATCH] ‘’

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

diff --git a/wechat_jiaxuan/pages/consult/detail.js b/wechat_jiaxuan/pages/consult/detail.js
index 0419117..4d390e0 100644
--- a/wechat_jiaxuan/pages/consult/detail.js
+++ b/wechat_jiaxuan/pages/consult/detail.js
@@ -20,15 +20,15 @@
     this.setData({
       bottomLift: app.bottomLift
     })
-    this.getDetail(options.id)
+    this.getDetail(options.id, options.userId || '')
   },
   handleDesign() {
     wx.navigateTo({
       url: '/pages/design/design',
     })
   },
-  getDetail(id) {
-    getProductNewsInfo({ id }).then(res => {
+  getDetail(id, userId) {
+    getProductNewsInfo({ id, salesId: userId || null }).then(res => {
       this.setData({ info: res.data })
       wx.setNavigationBarTitle({
         title: res.data.title

--
Gitblit v1.9.3