分销员开通回调修改

This commit is contained in:
张松 2025-10-30 11:09:17 +08:00
parent d125249994
commit 55360f22ef
1 changed files with 7 additions and 3 deletions

View File

@ -541,9 +541,13 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
.setType(TableValueConstant.DistributionAmountFlow.Type.OPEN.getCode())
.setMainShopId(mainShopId).setShopId(shopId).setAmount(finalAmount).setChangeAmount(amount).setSourceId(sourceId)
.setRemark("分销员购买"));
addDistributionUser(new MkDistributionUser().setShopId(shopId)
.setUserId(shopUserInfo.getUserId())
.setId(shopUserInfo.getId()).setOpeningMethod("付费开通"));
try {
addDistributionUser(new MkDistributionUser().setShopId(shopId)
.setUserId(shopUserInfo.getUserId())
.setId(shopUserInfo.getId()).setOpeningMethod("付费开通"));
}catch (Exception e) {
log.error("分销员开通失败", e);
}
}