绿满眶商城微信小程序-uniapp
zxl
3 天以前 c8cef398fbf1f9b63dbf23637ef520b421515dc9
pages/video/video-similar.vue
@@ -109,6 +109,7 @@
<script>
import { getGoodsSimilarlyVideos, savePlayRecord, changeCollect, changeThumbsUp } from "@/api/video.js"
import { getSessionId, userAction ,userShare } from "@/api/userAction.js";
import {addPrizeNum} from '@/api/prize.js'
export default {
   data() {
      return {
@@ -178,6 +179,16 @@
            }
         });
      }
      const shareId =   uni.getStorageSync("shareId");
      if(shareId){
      let param = {
         addType:"SHARE_USER_REGISTRY",
         extend:"",
      }
      let extend = {shareId:shareId}
      param.extend = JSON.stringify(extend)
      addPrizeNum(param);
      }
      
      this.actionParam.pageParams = JSON.stringify(options)