Преглед на файлове

研报小程序报告、章节列表海报生成频率优化

yujinwen преди 3 месеца
родител
ревизия
bb1e806239
променени са 2 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 3 1
      src/views/hzyb/report/ChapterDetail.vue
  2. 2 1
      src/views/hzyb/report/Detail.vue

+ 3 - 1
src/views/hzyb/report/ChapterDetail.vue

@@ -450,7 +450,9 @@ export default {
             pars:JSON.stringify({
                 title:imgText,
                 time_format:moment(res.data.report_chapter_item.publish_time).format('YYYY/MM/DD'),
-                background_img:res.data.report_chapter_item.share_bg_img
+                background_img:res.data.report_chapter_item.share_bg_img,
+                ReportId:Number(res.data.report_chapter_item.report_id),
+                ReportChapterId:Number(this.chapterId)
             })
         })
         if(rddpImgRes.code===200){

+ 2 - 1
src/views/hzyb/report/Detail.vue

@@ -561,7 +561,8 @@ export default {
                     pars:JSON.stringify({
                         title:imgText,
                         time_format:moment(res.data.report_info.publish_time).format('YYYY/MM/DD'),
-                        background_img:res.data.report_info.share_bg_img
+                        background_img:res.data.report_info.share_bg_img,
+                        ReportId:Number(this.reportId),
                     })
                 })
                 if(rddpImgRes.code===200){