上下级关系4

This commit is contained in:
2026-01-31 15:08:21 +08:00
parent ab955c6b8a
commit 8dc7f3e8f1

View File

@@ -62,7 +62,7 @@ public class MkShareBaseServiceImpl extends ServiceImpl<MkShareBaseMapper, MkSha
} }
//绑定上下级 //绑定上下级
if (StrUtil.isNotBlank(inviteCode)) { if (StrUtil.isNotBlank(inviteCode)) {
FunUtils.asyncSafeRunVoid(() -> distributionUserService.bindInviteUser(fromUserId, toUserId, shopId)); FunUtils.safeRunVoid(() -> distributionUserService.bindInviteUser(fromUserId, toUserId, shopId), "shareClaim 绑定上下级");
} }
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())) {