From ead7d667ab75a3e8692ad7c56f955f6e30189213 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期二, 30 九月 2025 13:14:42 +0800
Subject: [PATCH] 审核视频添加抽奖次数

---
 manager/src/views/video/VideoList.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/manager/src/views/video/VideoList.vue b/manager/src/views/video/VideoList.vue
index 5d0db16..a25608f 100644
--- a/manager/src/views/video/VideoList.vue
+++ b/manager/src/views/video/VideoList.vue
@@ -570,6 +570,7 @@
   removeById
 } from "@/api/video";
 import {getVideoTagList, recommend, videoGoodsEsPage} from "@/api/videoTag";
+import {addPrizeNum} from "@/api/activity-prize";
 import {getFilePreview, getSts} from "@/api/file";
 import Editor from '@/components/editor/index.vue'
 import GoodsExpandRow from '@/views/video/GoodsExpandRow'
@@ -1406,10 +1407,20 @@
       console.log(this.auditingForm, "sb")
       this.$refs.auditingForm.validate((valid) => {
         if (valid) {
+          let currentVideoId = this.auditingForm.id
           auditingVideo(this.auditingForm).then(res => {
             this.$Message.success("瀹℃牳瀹屾垚")
             this.closeAuditing()
             this.getDataList()
+            let param = {
+              addType:"USER_PUBLISH_EXAMINE",
+              userId:this.detail.authorId,
+              extend:""
+            }
+            param.extend = JSON.stringify({
+              videoId:currentVideoId
+            })
+            addPrizeNum(param)
           })
         }
       })

--
Gitblit v1.8.0