From 0e9f5bca5a2efffd61c03c2b68fb0d42d4f5ad07 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Wed, 26 Apr 2023 10:59:51 +0800 Subject: [PATCH] 3.7 --- domain/service/group_power_s/group_power.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/domain/service/group_power_s/group_power.go b/domain/service/group_power_s/group_power.go index be31fbd..b0daea7 100644 --- a/domain/service/group_power_s/group_power.go +++ b/domain/service/group_power_s/group_power.go @@ -80,8 +80,11 @@ func GetGroupPowerMaxMemberNum(model *domain.Model, familyId uint64, groupPowerG //检查是否是贵族 if flag, err := noble_m.CheckNobleLevel(model.Db, ownerId, 6); err != nil { } else if flag { - newNumMap := map[groupPower_e.GroupPowerGrade]int{groupPower_e.GroupPowerGrade0: 400, groupPower_e.GroupPowerGrade1: 600, - groupPower_e.GroupPowerGrade2: 1000, groupPower_e.GroupPowerGrade3: 1400} + newNumMap := map[groupPower_e.GroupPowerGrade]int{ + groupPower_e.GroupPowerGrade0: 400, + groupPower_e.GroupPowerGrade1: 600, + groupPower_e.GroupPowerGrade2: 1000, + groupPower_e.GroupPowerGrade3: 1400} if newNum, ok := newNumMap[groupPowerGrade]; ok { maxNum = newNum } -- 2.22.0