fix:优化

This commit is contained in:
dzc committed 2026-01-31 14:02:45 +08:00
1 parent 3d5845893d
commit f1d9b3cd31
1 file changed
+1 -4
+1 -4
View File
@@ -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" })