测试日志

This commit is contained in:
ZJY 2021-09-03 20:22:18 +08:00
parent 193f931f98
commit 40e0e1fd98
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package models
import (
"fmt"
"github.com/beego/beego/v2/core/logs"
"strings"
"time"
@ -210,6 +211,7 @@ func (ck *JdCookie) InPoolWskey(wskey string) error {
tx.Rollback()
return err
}
logs.Info(ck.WsKey)
tx.Model(ck).Updates(map[string]interface{}{
Available: True,
WsKey: wskey,

View File

@ -8,3 +8,4 @@
4.账号过期自动换key 暂未好
5.定时十二小时自动换key 暂未好
6.缓存token
7.批量绑定wskey