From d41f1f707dc643b726a42b9d2a63b186dd9e4f28 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 06 八月 2024 16:12:38 +0800
Subject: [PATCH] ll

---
 wechat_staff/components/detailFooter/index.js |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/wechat_staff/components/detailFooter/index.js b/wechat_staff/components/detailFooter/index.js
index 6d78a1a..7991f46 100644
--- a/wechat_staff/components/detailFooter/index.js
+++ b/wechat_staff/components/detailFooter/index.js
@@ -1,5 +1,6 @@
 import {
-  getContentShareImg
+  getContentShareImg,
+  actionDo
 } from '../../api/index'
 Component({
   /**
@@ -37,6 +38,10 @@
         '/pages/consult/detail',//璧勮璇︽儏
       ]
       const { info,  path} = this.data
+      actionDo({
+        actionType: 'share',
+        id: info.id
+      })
       wx.navigateToMiniProgram({
         appId: 'wxcd2b89fd2ff065f8',
         path: `${map[path]}?origin=b&id=${info.id}&userId=${wx.getStorageSync('member').id}`,
@@ -67,7 +72,7 @@
         info,
         path
       } = this.data
-      let that = this
+
       getContentShareImg({
         articleId: `${info.id}_${path}`,
         type: '0',
@@ -128,6 +133,10 @@
       wx.setStorageSync('downloadConfig', {
         path: this.data.path,id: this.data.info.id
       })
+      actionDo({
+        actionType: 'download',
+        id: this.data.info.id
+      })
       wx.navigateTo({
         url: '/pages/download/index',
       }, 1000)

--
Gitblit v1.9.3