feat: sync deployed v1.0.0-rc.38-custom.67

This commit is contained in:
cneicy committed 2026-10-06 00:07:10 +08:00
1 parent d09216bbde
commit 8e6ed0317b
154 files changed
+39540 -20509

No files matched your search

+5 -4
View File
@@ -52,11 +52,12 @@ func GetPricing(c *gin.Context) {
user, err := model.GetUserCache(userId.(int))
if err == nil {
group = user.Group
if err := model.LoadPersonalGroupRatios(c, user.Id); err != nil {
common.ApiError(c, err)
return
}
for g := range groupRatio {
ratio, ok := ratio_setting.GetGroupGroupRatio(group, g)
if ok {
groupRatio[g] = ratio
}
groupRatio[g] = model.EffectiveGroupRatio(c, group, g).GroupRatio
}
}
}