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