Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujiebin
hilo-group
Commits
37383277
Commit
37383277
authored
Mar 22, 2023
by
hujiebin
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:去掉无用的
parent
7e125641
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
group_rank.go
cv/group_power_cv/group_rank.go
+0
-15
group_rank.go
route/group_power_r/group_rank.go
+0
-1
No files found.
cv/group_power_cv/group_rank.go
View file @
37383277
...
...
@@ -52,13 +52,6 @@ type CvGroupPowerStarData struct {
Score
uint32
`json:"score"`
// 对应分值
}
// 资源等级
type
CvResGrade
struct
{
Grade
groupPower_e
.
GroupPowerGrade
`json:"grade"`
// 等级
Icon
string
`json:"icon"`
// 等级icon
BigIcon
string
`json:"bigIcon"`
// 等级大图标
}
// 特权信息
type
CvPrivilege
struct
{
Type
groupPower_e
.
GroupPowerPrivilege
`json:"type"`
// 特权id 1:成员数 2:管理员数 3:家族铭牌 4:家族徽章装饰 5:编辑铭牌 6:家族头饰
...
...
@@ -69,18 +62,10 @@ type CvPrivilege struct {
type
CvGroupPowerGradeDetail
struct
{
GroupPowerBase
CvGroupPowerBase
`json:"groupPowerBase"`
// 家族基本信息
GroupPowerGrade
CvGroupPowerGrade
`json:"groupPowerGrade"`
// 家族等级信息
ResGradeList
[]
CvResGrade
`json:"resGradeList"`
// 资源等级列表,青铜、白银、黄金、黑金
PrivilegeList
[]
CvPrivilege
`json:"privilegeList"`
// 等级特权
IsMember
bool
`json:"isMember"`
// 是否家族成员
}
var
CvResGradeList
=
[]
CvResGrade
{
{
groupPower_e
.
GroupPowerGrade0
,
"青铜icon"
,
"青铜bigIcon"
},
// todo
{
groupPower_e
.
GroupPowerGrade1
,
"白银icon"
,
"白银bigIcon"
},
// todo
{
groupPower_e
.
GroupPowerGrade2
,
"黄金icon"
,
"黄金bigIcon"
},
// todo
{
groupPower_e
.
GroupPowerGrade3
,
"黑金icon"
,
"黑金bigIcon"
},
// todo
}
var
GroupPowerGradePrivilegeNum
=
map
[
groupPower_e
.
GroupPowerGrade
][]
CvPrivilege
{
groupPower_e
.
GroupPowerGrade0
:
{
{
groupPower_e
.
GroupPowerPrivilegeMemberNum
,
300
},
...
...
route/group_power_r/group_rank.go
View file @
37383277
...
...
@@ -358,7 +358,6 @@ func GroupPowerGradeDetail(c *gin.Context) (*mycontext.MyContext, error) {
NextExp
:
nextExp
,
ExpireAt
:
expireAt
,
},
ResGradeList
:
group_power_cv
.
CvResGradeList
,
PrivilegeList
:
group_power_cv
.
GroupPowerGradePrivilegeNum
[
grade
.
Grade
],
IsMember
:
isMember
,
}
...
...
hujiebin
@hujiebin
mentioned in commit
489533ed
·
Mar 22, 2023
mentioned in commit
489533ed
mentioned in commit 489533ed04346e4789182ea967bc0206bbc2abea
Toggle commit list
hujiebin
@hujiebin
mentioned in commit
1d9d82cd
·
Mar 24, 2023
mentioned in commit
1d9d82cd
mentioned in commit 1d9d82cda13c69bda2d3a9715756329a3bc1efea
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment