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