Commit 43d121e8a493b6e1e9e3673d04d9ddca3f6b42a2
1 parent
4addbe56
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/HttpServer/logic/function.go
... | ... | @@ -831,8 +831,9 @@ func GetdagongList(uuid int) (*WorkList,[]int,error) { |
831 | 831 | nowtime := int(time.Now().Unix()) |
832 | 832 | for i:=0;i<len(list);i++ { |
833 | 833 | if nowtime > 600 + list[i].InviteTime { |
834 | - list = append(list[:i],list[i+1:]...) | |
835 | 834 | offlist = append(offlist,list[i].Uuid) |
835 | + list = append(list[:i],list[i+1:]...) | |
836 | + | |
836 | 837 | i-- |
837 | 838 | |
838 | 839 | } | ... | ... |