fix: 用户唯一tokne改为16位
This commit is contained in:
1 parent
d9a834fb8c
commit
58a59051ac
1 file changed
+2
-2
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user