diff --git a/jdc/models/cookie.go b/jdc/models/cookie.go index 2f14e4ed8..0ba408006 100644 --- a/jdc/models/cookie.go +++ b/jdc/models/cookie.go @@ -125,9 +125,10 @@ func (ck *JdCookie) ToPool(key string) { ck.Pool += "," + ck.PtKey } ck.Updates(JdCookie{ - PtKey: key, - Pool: ck.Pool, - ScanedAt: time.Now().Local().Format("2006-01-02"), + Available: True, + PtKey: key, + Pool: ck.Pool, + ScanedAt: time.Now().Local().Format("2006-01-02"), }) }