分销员开通回调修改
This commit is contained in:
parent
d125249994
commit
55360f22ef
|
|
@ -541,9 +541,13 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
||||||
.setType(TableValueConstant.DistributionAmountFlow.Type.OPEN.getCode())
|
.setType(TableValueConstant.DistributionAmountFlow.Type.OPEN.getCode())
|
||||||
.setMainShopId(mainShopId).setShopId(shopId).setAmount(finalAmount).setChangeAmount(amount).setSourceId(sourceId)
|
.setMainShopId(mainShopId).setShopId(shopId).setAmount(finalAmount).setChangeAmount(amount).setSourceId(sourceId)
|
||||||
.setRemark("分销员购买"));
|
.setRemark("分销员购买"));
|
||||||
|
try {
|
||||||
addDistributionUser(new MkDistributionUser().setShopId(shopId)
|
addDistributionUser(new MkDistributionUser().setShopId(shopId)
|
||||||
.setUserId(shopUserInfo.getUserId())
|
.setUserId(shopUserInfo.getUserId())
|
||||||
.setId(shopUserInfo.getId()).setOpeningMethod("付费开通"));
|
.setId(shopUserInfo.getId()).setOpeningMethod("付费开通"));
|
||||||
|
}catch (Exception e) {
|
||||||
|
log.error("分销员开通失败", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue