Commit 85bf53ffd9a1221d9076321eb48f9e95a3ba0ab6
1 parent
ce7b6895
Exists in
master
提交
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
src/HttpServer/logic/function.go
| ... | ... | @@ -789,9 +789,10 @@ func GetdagongList(uuid int) (*WorkList,error) { |
| 789 | 789 | return nil,err |
| 790 | 790 | } |
| 791 | 791 | |
| 792 | + //此处时间改为600s | |
| 792 | 793 | nowtime := int(time.Now().Unix()) |
| 793 | 794 | for i:=0;i<len(list);i++ { |
| 794 | - if nowtime > 4 * 3600 + list[i].InviteTime { | |
| 795 | + if nowtime > 600 + list[i].InviteTime { | |
| 795 | 796 | list = append(list[:i],list[i+1:]...) |
| 796 | 797 | i-- |
| 797 | 798 | } | ... | ... |
src/HttpServer/logic/logic.go