From 61754365307019776ebc3df3370d93fe4786cff6 Mon Sep 17 00:00:00 2001 From: fish Date: Sat, 27 Apr 2019 15:50:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=BB=B6=E6=97=B6=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=85=8D=E7=BD=AE=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- router.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/router.go b/router.go index cb4195e..5608e20 100644 --- a/router.go +++ b/router.go @@ -520,11 +520,11 @@ func dealDatav3(data []byte) string{ if current == 0 { //类型2 吸顶 if datatype==2{ - if durationAsInt64 < extensionOutTime2 { + if durationAsInt64 < extensionOutTime2 || extensionOutTime2<=0 { return "" } }else{ - if durationAsInt64 < extensionOutTime { + if durationAsInt64 < extensionOutTime || extensionOutTime<=0 { return "" } } @@ -532,11 +532,11 @@ func dealDatav3(data []byte) string{ }else{ //类型2 吸顶 if datatype==2{ - if durationAsInt64 < extensionInTime2 { + if durationAsInt64 < extensionInTime2 || extensionOutTime2<=0 { return "" } }else{ - if durationAsInt64 < extensionInTime { + if durationAsInt64 < extensionInTime || extensionInTime<=0 { return "" } }