Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskcenter
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
Odysseus
taskcenter
Commits
21a9d5f4
Commit
21a9d5f4
authored
Jan 15, 2025
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update default submitTiemstamp
parent
d3961464
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
group.go
server/group.go
+3
-1
No files found.
server/group.go
View file @
21a9d5f4
...
@@ -59,11 +59,13 @@ func getGroupV2(c *gin.Context) {
...
@@ -59,11 +59,13 @@ func getGroupV2(c *gin.Context) {
for
i
:=
0
;
i
<
len
(
resp
.
Tasks
);
i
++
{
for
i
:=
0
;
i
<
len
(
resp
.
Tasks
);
i
++
{
resp
.
Tasks
[
i
]
.
TaskId
=
strconv
.
Itoa
(
resp
.
Tasks
[
i
]
.
TaskId
.
(
int
))
resp
.
Tasks
[
i
]
.
TaskId
=
strconv
.
Itoa
(
resp
.
Tasks
[
i
]
.
TaskId
.
(
int
))
if
resp
.
Tasks
[
i
]
.
SubmitTimestamp
<
0
{
resp
.
Tasks
[
i
]
.
SubmitTimestamp
=
0
}
}
}
c
.
JSON
(
200
,
withSuccess
(
resp
))
c
.
JSON
(
200
,
withSuccess
(
resp
))
}
}
func
listGroup
(
c
*
gin
.
Context
)
{
func
listGroup
(
c
*
gin
.
Context
)
{
_page
:=
c
.
DefaultQuery
(
"page"
,
"1"
)
_page
:=
c
.
DefaultQuery
(
"page"
,
"1"
)
_pageSize
:=
c
.
DefaultQuery
(
"pageSize"
,
"10"
)
_pageSize
:=
c
.
DefaultQuery
(
"pageSize"
,
"10"
)
...
...
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