Commit 4addbe56c257e99f3683cc3638a7ba678ef7b854

Authored by 陆恒
1 parent 8d10a9ba
Exists in master

提交

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/HttpServer/logic/function.go
@@ -832,8 +832,9 @@ func GetdagongList(uuid int) (*WorkList,[]int,error) { @@ -832,8 +832,9 @@ func GetdagongList(uuid int) (*WorkList,[]int,error) {
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 > 600 + list[i].InviteTime {
834 list = append(list[:i],list[i+1:]...) 834 list = append(list[:i],list[i+1:]...)
835 - i--  
836 offlist = append(offlist,list[i].Uuid) 835 offlist = append(offlist,list[i].Uuid)
  836 + i--
  837 +
837 } 838 }
838 } 839 }
839 840