From f20c27197278ce133f0d605618702f8e629e6678 Mon Sep 17 00:00:00 2001
From: zst_2001 <1493232063@qq.com>
Date: 星期五, 20 十二月 2024 00:26:26 +0800
Subject: [PATCH] !622 fix 修正注释错别字和顺序 * fix 修正注释错别字和顺序

---
 ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/utils/LoginHelper.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/utils/LoginHelper.java b/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/utils/LoginHelper.java
index cdc5684..19557e1 100644
--- a/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/utils/LoginHelper.java
+++ b/ruoyi-common/ruoyi-common-satoken/src/main/java/org/dromara/common/satoken/utils/LoginHelper.java
@@ -89,6 +89,13 @@
     }
 
     /**
+     * 鑾峰彇鐢ㄦ埛id
+     */
+    public static String getUserIdStr() {
+        return Convert.toStr(getExtra(USER_KEY));
+    }
+
+    /**
      * 鑾峰彇鐢ㄦ埛璐︽埛
      */
     public static String getUsername() {

--
Gitblit v1.9.3