diff --git a/svc/reward_commission.go b/svc/reward_commission.go index e1a86e4..7fa1e59 100644 --- a/svc/reward_commission.go +++ b/svc/reward_commission.go @@ -46,6 +46,11 @@ func GetRewardCommission(engine *xorm.Engine, rmd *md.CommissionParam, isShare b minLevelList, _ := db.UserLevelInIDescByWeightLowWithOne(engine) if minLevelList != nil { minLevel = minLevelList.Id + if uid == 0 { + level = minLevel + newLevel = minLevel + userLevel = minLevel + } } // 获取抽成方案 newProvider := provider