From b39d882184c533ed8297bee92d5afb3d859f4fc8 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 23 Mar 2023 10:30:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=AD=89=E7=BA=A7=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cv/group_power_cv/group_rank.go | 43 +++++++++++++++++---------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/cv/group_power_cv/group_rank.go b/cv/group_power_cv/group_rank.go index 2acb81a..746aeef 100644 --- a/cv/group_power_cv/group_rank.go +++ b/cv/group_power_cv/group_rank.go @@ -61,6 +61,7 @@ type CvResGrade struct { type CvPrivilege struct { Type groupPower_e.GroupPowerPrivilege `json:"type"` // 特权id 1:成员数 2:管理员数 3:家族铭牌 4:家族徽章装饰 5:编辑铭牌 6:家族头饰 Num int `json:"num"` // 数目 + Icon string `json:"icon"` // 图标 } // 家族等级页 @@ -81,32 +82,32 @@ var CvResGradeList = []CvResGrade{ var GroupPowerGradePrivilegeNum = map[groupPower_e.GroupPowerGrade][]CvPrivilege{ groupPower_e.GroupPowerGrade0: { - {groupPower_e.GroupPowerPrivilegeMemberNum, 300}, - {groupPower_e.GroupPowerPrivilegeMgrNum, 10}, - {groupPower_e.GroupPowerPrivilegeNameplate, 1}, - {groupPower_e.GroupPowerPrivilegeMedal, 1}, + {groupPower_e.GroupPowerPrivilegeMemberNum, 300, "https://image.whoisamy.shop/hilo/resource/family/users.png"}, + {groupPower_e.GroupPowerPrivilegeMgrNum, 10, "https://image.whoisamy.shop/hilo/resource/family/gl_user.png"}, + {groupPower_e.GroupPowerPrivilegeNameplate, 1, "https://image.whoisamy.shop/hilo/resource/family/nameplate_black.png"}, + {groupPower_e.GroupPowerPrivilegeMedal, 1, "https://image.whoisamy.shop/hilo/resource/family/privilege_black.png"}, }, groupPower_e.GroupPowerGrade1: { - {groupPower_e.GroupPowerPrivilegeMemberNum, 500}, - {groupPower_e.GroupPowerPrivilegeMgrNum, 15}, - {groupPower_e.GroupPowerPrivilegeNameplate, 1}, - {groupPower_e.GroupPowerPrivilegeMedal, 1}, - {groupPower_e.GroupPowerPrivilegeNameplateEdit, 1}, + {groupPower_e.GroupPowerPrivilegeMemberNum, 500, "https://image.whoisamy.shop/hilo/resource/family/users.png"}, + {groupPower_e.GroupPowerPrivilegeMgrNum, 15, "https://image.whoisamy.shop/hilo/resource/family/gl_user.png"}, + {groupPower_e.GroupPowerPrivilegeNameplate, 1, "https://image.whoisamy.shop/hilo/resource/family/nameplate_cyan.png"}, + {groupPower_e.GroupPowerPrivilegeMedal, 1, "https://image.whoisamy.shop/hilo/resource/family/privilege_cyan.png"}, + {groupPower_e.GroupPowerPrivilegeNameplateEdit, 1, "https://image.whoisamy.shop/hilo/resource/family/edit_cyan.png"}, }, groupPower_e.GroupPowerGrade2: { - {groupPower_e.GroupPowerPrivilegeMemberNum, 800}, - {groupPower_e.GroupPowerPrivilegeMgrNum, 20}, - {groupPower_e.GroupPowerPrivilegeNameplate, 1}, - {groupPower_e.GroupPowerPrivilegeMedal, 1}, - {groupPower_e.GroupPowerPrivilegeNameplateEdit, 1}, - {groupPower_e.GroupPowerPrivilegeNameplateHeadwear, 1}, + {groupPower_e.GroupPowerPrivilegeMemberNum, 800, "https://image.whoisamy.shop/hilo/resource/family/users.png"}, + {groupPower_e.GroupPowerPrivilegeMgrNum, 20, "https://image.whoisamy.shop/hilo/resource/family/gl_user.png"}, + {groupPower_e.GroupPowerPrivilegeNameplate, 1, "https://image.whoisamy.shop/hilo/resource/family/nameplate_white.png"}, + {groupPower_e.GroupPowerPrivilegeMedal, 1, "https://image.whoisamy.shop/hilo/resource/family/privilege_white.png"}, + {groupPower_e.GroupPowerPrivilegeNameplateEdit, 1, "https://image.whoisamy.shop/hilo/resource/family/edit_white.png"}, + {groupPower_e.GroupPowerPrivilegeNameplateHeadwear, 1, "https://image.whoisamy.shop/hilo/resource/family/headwear_white.png"}, }, groupPower_e.GroupPowerGrade3: { - {groupPower_e.GroupPowerPrivilegeMemberNum, 1200}, - {groupPower_e.GroupPowerPrivilegeMgrNum, 25}, - {groupPower_e.GroupPowerPrivilegeNameplate, 1}, - {groupPower_e.GroupPowerPrivilegeMedal, 1}, - {groupPower_e.GroupPowerPrivilegeNameplateEdit, 1}, - {groupPower_e.GroupPowerPrivilegeNameplateHeadwear, 1}, + {groupPower_e.GroupPowerPrivilegeMemberNum, 1200, "https://image.whoisamy.shop/hilo/resource/family/users.png"}, + {groupPower_e.GroupPowerPrivilegeMgrNum, 25, "https://image.whoisamy.shop/hilo/resource/family/gl_user.png"}, + {groupPower_e.GroupPowerPrivilegeNameplate, 1, "https://image.whoisamy.shop/hilo/resource/family/nameplate_yellow.png"}, + {groupPower_e.GroupPowerPrivilegeMedal, 1, "https://image.whoisamy.shop/hilo/resource/family/privilege_yellow.png"}, + {groupPower_e.GroupPowerPrivilegeNameplateEdit, 1, "https://image.whoisamy.shop/hilo/resource/family/edit_yellow.png"}, + {groupPower_e.GroupPowerPrivilegeNameplateHeadwear, 1,"https://image.whoisamy.shop/hilo/resource/family/headwear_yellow.png"}, }, } -- 2.22.0