mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-08-25 01:14:23 +08:00
修正数据类型
This commit is contained in:
parent
4419ecd8e0
commit
4a3f4fa548
@ -136,7 +136,7 @@ public class StpUtil {
|
|||||||
* @param id 账号id,建议的类型:(long | int | String)
|
* @param id 账号id,建议的类型:(long | int | String)
|
||||||
* @param timeout 此次登录token的有效期, 单位:秒 (如未指定,自动取全局配置的timeout值)
|
* @param timeout 此次登录token的有效期, 单位:秒 (如未指定,自动取全局配置的timeout值)
|
||||||
*/
|
*/
|
||||||
public static void login(Object id, Long timeout) {
|
public static void login(Object id, long timeout) {
|
||||||
stpLogic.login(id, timeout);
|
stpLogic.login(id, timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user