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

---
 wechat_staff/components/detailFooter/index.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/wechat_staff/components/detailFooter/index.js b/wechat_staff/components/detailFooter/index.js
index 7fb1767..f7dc550 100644
--- a/wechat_staff/components/detailFooter/index.js
+++ b/wechat_staff/components/detailFooter/index.js
@@ -1,8 +1,6 @@
 import {
   getContentShareImg
 } from '../../api/index'
-const { HYEventBus } = require('hy-event-store')
-const eventBus = new HYEventBus()
 Component({
   /**
    * 缁勪欢鐨勫睘鎬у垪琛�
@@ -56,7 +54,7 @@
       } = this.data
       let that = this
       getContentShareImg({
-        articleId: `${info.id}&${path}&${wx.getStorageSync('member').id}`,
+        articleId: `${info.id}_${path}`,
         type: '1',
         // pageUrl: path,
         imgurl: info.coverImage,
@@ -97,6 +95,9 @@
     batchDown() {
       const downloadList = this.data.info.imageurlList || []
       wx.setStorageSync('downloadList', downloadList)
+      wx.setStorageSync('downloadConfig', {
+        path: this.data.path,id: this.data.info.id
+      })
       wx.navigateTo({
         url: '/pages/download/index',
       }, 1000)

--
Gitblit v1.9.3