Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hilo-user
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
chenweijian
hilo-user
Commits
ff109197
Commit
ff109197
authored
Jun 05, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4a8e3f42
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
space.go
cv/cp_cv/space.go
+1
-0
space.go
route/cp_r/space.go
+1
-0
No files found.
cv/cp_cv/space.go
View file @
ff109197
...
@@ -27,6 +27,7 @@ type CvCpLevel struct {
...
@@ -27,6 +27,7 @@ type CvCpLevel struct {
EndPoints
uint32
`json:"endPoints,omitempty"`
// 下个等级所需CP值
EndPoints
uint32
`json:"endPoints,omitempty"`
// 下个等级所需CP值
ExpireAtUnix
int64
`json:"expireAtUnix,omitempty"`
// 有效期,时间戳
ExpireAtUnix
int64
`json:"expireAtUnix,omitempty"`
// 有效期,时间戳
SettlementDate
string
`json:"settlementDate"`
// 等级过期时间
SettlementDate
string
`json:"settlementDate"`
// 等级过期时间
MaxLevel
cp_e
.
CpLevel
`json:"maxLevel"`
// cp最大的等级
}
}
// 资源等级
// 资源等级
...
...
route/cp_r/space.go
View file @
ff109197
...
@@ -102,6 +102,7 @@ func CpSpace(c *gin.Context) (*mycontext.MyContext, error) {
...
@@ -102,6 +102,7 @@ func CpSpace(c *gin.Context) (*mycontext.MyContext, error) {
EndPoints
:
nextPoints
,
EndPoints
:
nextPoints
,
ExpireAtUnix
:
expireAtUnix
,
ExpireAtUnix
:
expireAtUnix
,
SettlementDate
:
settlementDate
,
SettlementDate
:
settlementDate
,
MaxLevel
:
cp_e
.
CpLevelMax
,
},
},
ResLevelList
:
cp_cv
.
CvResLevelList
,
ResLevelList
:
cp_cv
.
CvResLevelList
,
PrivilegeList
:
allPrivilegeList
,
PrivilegeList
:
allPrivilegeList
,
...
...
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