@Service public class TriggerTokenLogServer extends BaseDbService<TriggerTokenLogBean> implements IStatusRecover
key, tableName, tClass
Constructor and Description |
---|
TriggerTokenLogServer(SystemParametersServer parametersServer,
UserService userService) |
Modifier and Type | Method and Description |
---|---|
String |
createToken(String type,
String dataId,
String userId)
创建新 token
|
UserModel |
getUserByToken(String token,
String type)
通过 token 获取用户ID
|
String |
restToken(String oldToken,
String type,
String dataId,
String userId)
重启生成 token
|
int |
statusRecover()
状态恢复
|
autoClear, autoLoopClear, clearTimeColumns, count, count, covetTableName, defaultOrders, executeClearImpl, fillInsert, getData, getLastTimeValue, insert, insert, insertNotFill, list, listById, listById, listPage, listPage, listPage, parsePage, update, updateById, updateById, upsert
count, count, dataBeanToEntity, del, delByKey, delByKey, entityToBean, entityToBean, entityToBeanList, execute, exists, exists, fillSelectResult, findByCondition, getByKey, getByKey, getByKey, getKey, getTableName, insert, listByBean, listByEntity, listPageOnlyResult, query, query, queryByBean, queryList, queryList, queryList, update, warpException
public TriggerTokenLogServer(SystemParametersServer parametersServer, UserService userService)
public UserModel getUserByToken(String token, String type)
token
- tokentype
- 数据类型public String restToken(String oldToken, String type, String dataId, String userId)
oldToken
- 之前版本 tokentype
- 类型dataId
- 数据IDuserId
- 用户IDpublic String createToken(String type, String dataId, String userId)
type
- 类型dataId
- 数据IDuserId
- 用户IDpublic int statusRecover()
IStatusRecover
statusRecover
in interface IStatusRecover
Copyright © 2017–2022. All rights reserved.