diff --git a/rule/public_platoon_relate_commission.go b/rule/public_platoon_relate_commission.go index edaaeb0..2c9a8bb 100644 --- a/rule/public_platoon_relate_commission.go +++ b/rule/public_platoon_relate_commission.go @@ -399,6 +399,7 @@ func DealCommonWealthPunish(engine *xorm.Engine, uid int, reason string) (err er } //3、新增一条 `user_public_platoon_relation` 记录 + params.Uid = uid res, err := publicPlatoon(engine, params.Uid, params.RecommendUid, *userPublicPlatoonSetting) if err != nil { _ = session.Rollback() diff --git a/rule/small_public_platoon_relate_commission.go b/rule/small_public_platoon_relate_commission.go index 601f028..446efab 100644 --- a/rule/small_public_platoon_relate_commission.go +++ b/rule/small_public_platoon_relate_commission.go @@ -1018,6 +1018,7 @@ func SmallDealCommonWealthPunish(engine *xorm.Engine, uid int, reason string) (e } //3、新增一条 `user_public_platoon_relation` 记录 + params.Uid = uid res, err := smallPublicPlatoon(engine, params.Uid, params.RecommendUid, *userPublicPlatoonSetting) if err != nil { _ = session.Rollback()