From 0b23a4f1cae5dd34b407614baa88dee3af162f29 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期六, 27 九月 2025 16:02:57 +0800
Subject: [PATCH] 扫码门店领取优惠卷

---
 pages/cart/coupon/couponCenter.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pages/cart/coupon/couponCenter.vue b/pages/cart/coupon/couponCenter.vue
index dc45b67..958c482 100644
--- a/pages/cart/coupon/couponCenter.vue
+++ b/pages/cart/coupon/couponCenter.vue
@@ -132,7 +132,8 @@
 				receiveCoupons(val.id).then((res) => {
 					if (res.data.code == 200) {
 						//淇敼鐐瑰嚮鐨勪紭鎯犲嵎褰撳墠鐨勯鍙栫姸鎬�
-						val.owned = true;
+						val.owned = res.data.result.owned;
+            console.log(res.data)
 						uni.showToast({
 							title: "棰嗗彇鎴愬姛",
 							icon: "none",

--
Gitblit v1.8.0