This commit is contained in:
1 parent
ec2d191028
commit
0b22601dc8
1 file changed
+1
-1
@@ -69,7 +69,7 @@ const getCouponInfo = async () => {
|
||||
const doGetCoupon = async () => {
|
||||
try {
|
||||
uni.showLoading({ title: "正在领取..." })
|
||||
const { code, msg }: any = await actCancel.appGet({})
|
||||
const { code, msg }: any = await actCancel.appGet({ receiverUserId: uni.getStorageSync("user_info")?.sysUser?.userId })
|
||||
if (code != 0) return uni.showToast({ title: msg || "领取失败", icon: "none", mask: true })
|
||||
uni.showToast({ title: "领取成功", icon: "success" })
|
||||
await getCouponInfo()
|
||||
|
||||
Reference in new issue
Block a user