Commit 001cc720ec948d72ee3754fdfcb0387f18982122

Authored by 陆恒
1 parent 3eab4f6a
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 > 600 + list[i].InviteTime { 833 + if nowtime > 4*3600 + 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