fix 修复检测黑IP问题。
This commit is contained in:
parent
8d1ed610f2
commit
842a45c302
@ -123,9 +123,9 @@ func initCookie() {
|
||||
cks := GetJdCookies()
|
||||
//l := len(cks)
|
||||
for i := range cks {
|
||||
time.Sleep(time.Second * time.Duration(60))
|
||||
if cks[i].Available == True && !CookieOK(&cks[i]) {
|
||||
logs.Info("开始禁用")
|
||||
time.Sleep(time.Second * 60)
|
||||
cks[i].OutPool()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user