From 3d5845893de2a1c27aaed4327534a1f627941996 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Sat, 31 Jan 2026 13:59:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=BC=98=E5=8C=96=E9=A2=86=E5=8F=96?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/merchant/merchant-activity.vue | 4 ++++ src/sheep/constant/service-enum.ts | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/pages/merchant/merchant-activity.vue b/src/pages/merchant/merchant-activity.vue index c618cba..885ca2c 100644 --- a/src/pages/merchant/merchant-activity.vue +++ b/src/pages/merchant/merchant-activity.vue @@ -199,9 +199,13 @@ const getCouponReceive = async () => { if (!isEligible) return } try { + console.log("userDetail:", state.userDetail); + return + uni.showLoading({ title: "正在领取...", mask: true }) const { code, msg }: any = await actCouponApi.receive({ couponId: state.actId, + // receiveUserId:, }) if (code != 0) return uni.showToast({ title: msg || "领取失败", icon: "none", mask: true }) uni.showToast({ title: "领取成功", icon: "success" }) diff --git a/src/sheep/constant/service-enum.ts b/src/sheep/constant/service-enum.ts index aaed80b..4feaea0 100644 --- a/src/sheep/constant/service-enum.ts +++ b/src/sheep/constant/service-enum.ts @@ -79,6 +79,9 @@ const actUserReceiveEnum = { "5": "用户不能参加此活动", "6": "其他错误", "99": "用户可以参加活动", + // 特殊 + "-100": "请在生日当月领取", + "-101": "请填写出生日期", } export default {