分享领取

This commit is contained in:
2026-01-29 10:13:46 +08:00
parent abcd0fbc7b
commit 2b594193ee

View File

@@ -65,7 +65,7 @@ public class MkShareBaseServiceImpl extends ServiceImpl<MkShareBaseMapper, MkSha
FunUtils.asyncSafeRunVoid(() -> distributionUserService.bindInviteUser(fromUserId, toUserId, shopId)); FunUtils.asyncSafeRunVoid(() -> distributionUserService.bindInviteUser(fromUserId, toUserId, shopId));
} }
MkShareBase shareBase = getById(shopId); MkShareBase shareBase = getById(shopId);
if (shareBase == null || shareBase.getIsEnabled().equals(1) || StrUtil.isBlank(shareBase.getRewardSharePages())) { if (shareBase == null || !shareBase.getIsEnabled().equals(1) || StrUtil.isBlank(shareBase.getRewardSharePages())) {
return; return;
} }
if (!shareBase.getRewardSharePages().contains(tagType)) { if (!shareBase.getRewardSharePages().contains(tagType)) {