From 2fed0b52d9c8e98d46c1eb8bd3876dafa60fc0b6 Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期五, 25 十一月 2022 10:14:16 +0800 Subject: [PATCH] 1.修改导办数量可能是负数的问题 --- 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