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
7d4a2878
Commit
7d4a2878
authored
Mar 14, 2023
by
hujiebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:for build
parent
ad53e04f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
group.go
cv/group_cv/group.go
+1
-1
family.go
domain/model/groupPower_m/family.go
+6
-6
No files found.
cv/group_cv/group.go
View file @
7d4a2878
...
@@ -479,7 +479,7 @@ func BuildPopularGroupInfo(model *domain.Model, myUserId uint64, groupInfo []*gr
...
@@ -479,7 +479,7 @@ func BuildPopularGroupInfo(model *domain.Model, myUserId uint64, groupInfo []*gr
for
_
,
v
:=
range
groupInfo
{
for
_
,
v
:=
range
groupInfo
{
owners
=
append
(
owners
,
v
.
Owner
)
owners
=
append
(
owners
,
v
.
Owner
)
}
}
powerIds
,
powerNames
,
err
:=
group_power_cv
.
BatchGetGroupPower
(
model
.
Db
,
owners
)
powerIds
,
powerNames
,
_
,
err
:=
group_power_cv
.
BatchGetGroupPower
(
model
.
Db
,
owners
)
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
err
return
nil
,
err
}
}
...
...
domain/model/groupPower_m/family.go
View file @
7d4a2878
...
@@ -12,12 +12,12 @@ import (
...
@@ -12,12 +12,12 @@ import (
"time"
"time"
)
)
type
GroupPowerGrade
struct
{
//
type GroupPowerGrade struct {
GroupPowerId
uint64
`json:"group_power_id"`
//
GroupPowerId uint64 `json:"group_power_id"`
Exp
int64
`json:"exp"`
//
Exp int64 `json:"exp"`
Grade
int32
`json:"grade"`
//
Grade int32 `json:"grade"`
ExpireAt
time
.
Time
`json:"expire_at"`
//
ExpireAt time.Time `json:"expire_at"`
}
//
}
type
GroupPowerQuitLog
struct
{
type
GroupPowerQuitLog
struct
{
Id
uint64
`json:"id"`
Id
uint64
`json:"id"`
...
...
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