public class CookieTool extends Tool
| Constructor and Description |
|---|
CookieTool(ServiceContext context) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getData(Class<T> tClass)
获取登陆用户数据
|
AuthUser |
getUser()
获取登录用户
|
void |
setUser(AuthUser user,
Object data) |
AuthUser |
tryGetUser() |
getContextpublic CookieTool(ServiceContext context)
Copyright © 2019. All rights reserved.