Commit 3eab4f6a7bcb6aa75dca846e48a4bb8a2f411d4f
1 parent
c6a5c357
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/function.go
@@ -830,7 +830,7 @@ func GetdagongList(uuid int) (*WorkList,[]InviteWorkOffDesc,error) { | @@ -830,7 +830,7 @@ func GetdagongList(uuid int) (*WorkList,[]InviteWorkOffDesc,error) { | ||
830 | //此处时间改为600s | 830 | //此处时间改为600s |
831 | nowtime := int(time.Now().Unix()) | 831 | nowtime := int(time.Now().Unix()) |
832 | for i:=0;i<len(list);i++ { | 832 | for i:=0;i<len(list);i++ { |
833 | - if nowtime > 4*3600 + list[i].InviteTime { | 833 | + if nowtime > 600 + list[i].InviteTime { |
834 | var tmp InviteWorkOffDesc | 834 | var tmp InviteWorkOffDesc |
835 | tmp.Uuid = list[i].Uuid | 835 | tmp.Uuid = list[i].Uuid |
836 | tmp.InviteTime = list[i].InviteTime | 836 | tmp.InviteTime = list[i].InviteTime |