From 29851d845f4ab768c78724ab870ecec4ce28c32b Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期五, 24 十月 2025 11:42:30 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/user_action' into user_action

---
 api/store-coupon.js |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/api/store-coupon.js b/api/store-coupon.js
index b1dddb5..7f5b46f 100644
--- a/api/store-coupon.js
+++ b/api/store-coupon.js
@@ -24,4 +24,29 @@
     method: Method.POST,
     needToken: true,
   });
+}
+/**
+ * 鏍规嵁搴楅摵浼樻儬鍒稿叧鑱擨D鑾峰彇浼樻儬鍒歌鎯�
+ * @param {string|number} storeCoupRef - 搴楅摵浼樻儬鍒稿叧鑱擨D
+ * @returns {Promise} 杩斿洖浼樻儬鍒歌鎯�
+ */
+export function getStorePrize(storeCoupRef) {
+  return http.request({
+    url: `/lmk/store/prize/${storeCoupRef}`,
+    method: Method.GET,
+    needToken: true,
+  });
+}
+
+/**
+ * 棰嗗彇搴楅摵浼樻儬鍒�
+ * @param {string|number} storeCoupRef - 搴楅摵浼樻儬鍒稿叧鑱擨D
+ * @returns {Promise} 杩斿洖棰嗗彇缁撴灉
+ */
+export function claimPrize(storeCoupRef) {
+  return http.request({
+    url: `/lmk/store/prize/${storeCoupRef}`,
+    method: Method.POST,
+    needToken: true,
+  });
 }
\ No newline at end of file

--
Gitblit v1.8.0