Browse Source

更新

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

+ 3
- 0
svc/reward_commission.go View File

@@ -309,6 +309,9 @@ func public(engine *xorm.Engine, ulinkParent *comm_plan.LvUser, cfg *comm_plan.P
} }
if err == nil && nowBenefitUid != "" { if err == nil && nowBenefitUid != "" {
user, _ := db.UserFindByID(engine, nowBenefitUid) user, _ := db.UserFindByID(engine, nowBenefitUid)
if user == nil {
return ulinkParent
}
var commonWealthSystem = make(map[string]string) var commonWealthSystem = make(map[string]string)
grade := cfg.UserRate[user.Level] grade := cfg.UserRate[user.Level]
if grade != nil { if grade != nil {


Loading…
Cancel
Save