From c6b21925af97c059c128763b52750444df9fdaa9 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 05 八月 2024 18:31:49 +0800
Subject: [PATCH] 代码提交

---
 wechat_jiaxuan/pages/consult/detail.js |   14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/wechat_jiaxuan/pages/consult/detail.js b/wechat_jiaxuan/pages/consult/detail.js
index fd00085..0f8df05 100644
--- a/wechat_jiaxuan/pages/consult/detail.js
+++ b/wechat_jiaxuan/pages/consult/detail.js
@@ -1,4 +1,4 @@
-import { shareContent, getProductNewsInfo } from '../../api/index'
+import { actionDo, getProductNewsInfo } from '../../api/index'
 Page({
 
   /**
@@ -51,15 +51,11 @@
   },
   handleShare() {
     console.log('鐐瑰嚮浜嗗垎浜�');
-    shareContent(this.data.info.id)
+    actionDo({
+      actionType: 'share',
+      id: this.data.info.id
+    })
   },
-  // onShareAppMessage: function () {
-  //   // let { productDetail, userInfo } = this.data
-  //   return {
-  //     title: productDetail.title,
-  //     path: '/pages/index/index?id=' + productDetail.id + '&shareuserid=' + userInfo.id + '&type=0'
-  //   }
-  // },
   onClose() {
     this.setData({showShare: false})
   },

--
Gitblit v1.9.3