@@ -132,7 +132,7 @@ func Auth() gin.HandlerFunc {
return
}
ts := int64(t) - time.Now().UnixMilli()
- if ts >= -10*1000 && ts <= 10*1000 {
+ if ts < -10*1000 && ts > 10*1000 {
c.JSON(http.StatusUnauthorized, gin.H{
"code": e.ERROR,
"msg": "apikey3",