fix 删除错误代码

This commit is contained in:
ZJY 2021-11-07 14:11:53 +08:00
parent 2258342d03
commit 0141451a79

View File

@ -508,7 +508,7 @@ func (c *LoginController) SMSLogin() {
}
if ptKey != "" && ptPin != "" {
if models.CookieOK(ck) {
if nck, err := models.GetJdCookie(ck.PtPin); err == nil {
if !models.HasPin(ptPin) {
models.NewJdCookie(ck)
ck.Query()
if qq != "" {
@ -519,7 +519,8 @@ func (c *LoginController) SMSLogin() {
(&models.JdCookie{}).Push(msg)
}
} else {
nck.InPool(ptKey)
ck, _ := models.GetJdCookie(ptPin)
ck.InPool(ptKey)
if qq != "" && len(qq) > 6 {
ck.Update(models.QQ, qq)
}