From 8e36cf0540a398cc48ee96cdc4e294f57300a700 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 16 十二月 2025 15:02:38 +0800
Subject: [PATCH] 首页权限跳转多次登录页问题
---
pages/kitchen/KitchenVideo.vue | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/pages/kitchen/KitchenVideo.vue b/pages/kitchen/KitchenVideo.vue
index 5a4aae7..7ee1a4e 100644
--- a/pages/kitchen/KitchenVideo.vue
+++ b/pages/kitchen/KitchenVideo.vue
@@ -286,6 +286,14 @@
import { saveShare, saveShareClickRecord } from "@/api/share.js";
import storage from "@/utils/storage.js";
import { getSessionId, userAction,userShare } from "@/api/userAction.js";
+ import {
+ prizeInfo,
+ prizeNum,
+ prize,
+ grantRecord,
+ addPrizeNum,
+ getPrizeRule
+ } from '@/api/prize.js'
export default {
computed: {
hasPlayTime() {
@@ -450,6 +458,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.marginBottom = uni.getSystemInfoSync().safeAreaInsets.bottom;
// 鑾峰彇鐘舵�佹爮楂樺害
const systemInfo = uni.getSystemInfoSync();
--
Gitblit v1.8.0