Browse Source

update 共富制度

tags/v1.9.1
DengBiao 2 years ago
parent
commit
ef2c11809e
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      rule/public_platoon_relate_commission.go
  2. +1
    -0
      rule/small_public_platoon_relate_commission.go

+ 1
- 0
rule/public_platoon_relate_commission.go View File

@@ -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()


+ 1
- 0
rule/small_public_platoon_relate_commission.go View File

@@ -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()


Loading…
Cancel
Save