Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
dfd3d36ba5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      svc/reward_commission.go

+ 5
- 0
svc/reward_commission.go View File

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


Loading…
Cancel
Save