fix 失效不会自动屏蔽

This commit is contained in:
ZJY 2021-09-18 23:22:55 +08:00
parent 7fb3332871
commit 248dd64d32
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ func CookieOK(ck *JdCookie) bool {
case "1001": //ck.BeanNum
if ui.Msg == "not login" {
if ck.Available == True {
ck.Update(Available, false)
ck.Update(Available, False)
if Config.Wskey {
if len(ck.WsKey) > 0 {
var pinky = fmt.Sprintf("pin=%s;wskey=%s;", ck.PtPin, ck.WsKey)

View File

@ -11,7 +11,7 @@ import (
"github.com/beego/beego/v2/core/logs"
)
var version = "20210916"
var version = "20210918"
var describe = "重大更新"
var AppName = "xdd"
var pname = regexp.MustCompile(`/([^/\s]+)`).FindStringSubmatch(os.Args[0])[1]