Commit 21a9d5f4 authored by 贾浩@五瓣科技's avatar 贾浩@五瓣科技

update default submitTiemstamp

parent d3961464
...@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment