diff --git a/src/pages/merchant/merchant-activity.vue b/src/pages/merchant/merchant-activity.vue index 885ca2c..8907c12 100644 --- a/src/pages/merchant/merchant-activity.vue +++ b/src/pages/merchant/merchant-activity.vue @@ -199,13 +199,10 @@ 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:, + receiveUserId: state.userDetail.userId, }) if (code != 0) return uni.showToast({ title: msg || "领取失败", icon: "none", mask: true }) uni.showToast({ title: "领取成功", icon: "success" })