1
0

fix: 更新延迟session_token

This commit is contained in:
TsMask
2023-10-19 14:47:56 +08:00
parent f1393c2dd9
commit 4652a124ca
2 changed files with 9 additions and 3 deletions

View File

@@ -35,8 +35,8 @@ func Remove(tokenStr string) string {
// Create 令牌生成
func Create(loginUser *vo.LoginUser, ilobArgs ...string) string {
// 生成用户唯一tokne32
loginUser.UUID = generate.Code(32)
// 生成用户唯一tokne16
loginUser.UUID = generate.Code(16)
// 设置请求用户登录客户端
loginUser.IPAddr = ilobArgs[0]