update
continuous-integration/drone/push Build is passing Details

main
kelvin 3 years ago
parent fa2c285f0f
commit 7f295644d2

@ -460,7 +460,6 @@ func checkKeyMid() gin.HandlerFunc {
if auth == "" { if auth == "" {
c.AbortWithStatusJSON(401, gin.H{"code": 40001}) c.AbortWithStatusJSON(401, gin.H{"code": 40001})
} else { } else {
log.Printf("auth check start")
key := strings.Trim(auth, "Bearer ") key := strings.Trim(auth, "Bearer ")
log.Printf("key: %v", key) log.Printf("key: %v", key)
msg, err := checkKeyAndTimeCount(key) msg, err := checkKeyAndTimeCount(key)

Loading…
Cancel
Save