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