From 4a0caa2a9251457f0b5a9c73bffdf2c4b5e1e1d8 Mon Sep 17 00:00:00 2001
From: Liuyi <candymxq888@outlook.com>
Date: 星期六, 23 十一月 2024 16:50:58 +0800
Subject: [PATCH] 添加运维登录页

---
 pages/pointsMall/pointsExchangeRecord/index.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pages/pointsMall/pointsExchangeRecord/index.vue b/pages/pointsMall/pointsExchangeRecord/index.vue
index 29d3eef..8b28525 100644
--- a/pages/pointsMall/pointsExchangeRecord/index.vue
+++ b/pages/pointsMall/pointsExchangeRecord/index.vue
@@ -1,12 +1,13 @@
 <script setup>
 	import { onMounted, ref } from 'vue';
 	import { pointsExchangeApi } from '../../../api/index.js'
+	const userInfo = JSON.parse(uni.getStorageSync('userInfo'))
 	
 	const pointExchangeList = ref([
 		// {goodsName:'纸巾',integralAmount:1232,receiveStatusName:'已领取',exchangeDate:'2024-11-13 14:46:40',receiveDate:'2024-11-13 14:46:40'},
 	])
 	async function searchPoints(){
-		await pointsExchangeApi({limit:10000,page:1}).then((res) =>{
+		await pointsExchangeApi({limit:10000,page:1,userId:userInfo.id}).then((res) =>{
 			pointExchangeList.value = res.data.list
 		})
 	}

--
Gitblit v1.9.3