From 5b6ad813a2131d84922b80819c3b1779ac1b7c67 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期一, 28 十一月 2022 10:44:37 +0800 Subject: [PATCH] 修改部分回复模板获取详情报错报错 --- flower_city/src/main/java/com/dg/core/manager/TokenManager.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flower_city/src/main/java/com/dg/core/manager/TokenManager.java b/flower_city/src/main/java/com/dg/core/manager/TokenManager.java index c389cfb..088e2e7 100644 --- a/flower_city/src/main/java/com/dg/core/manager/TokenManager.java +++ b/flower_city/src/main/java/com/dg/core/manager/TokenManager.java @@ -7,7 +7,7 @@ * @param userId 指定用户的id * @return 生成的token */ - public String createToken(long userId, long role); + public String createToken(String userId, String role); /** * 检查token是否有效 @@ -29,5 +29,5 @@ public void deleteToken(String token); - public String getTokenByUserId(long userId); + public String getTokenByUserId(String userId); } -- Gitblit v1.7.1