reset 回退 hutool 版本到 5.8.12 高版本有bug
parent
4317a1560a
commit
7804e4ad08
2
pom.xml
2
pom.xml
|
|
@ -30,7 +30,7 @@
|
||||||
<springdoc.version>1.6.14</springdoc.version>
|
<springdoc.version>1.6.14</springdoc.version>
|
||||||
<poi.version>5.2.3</poi.version>
|
<poi.version>5.2.3</poi.version>
|
||||||
<easyexcel.version>3.2.1</easyexcel.version>
|
<easyexcel.version>3.2.1</easyexcel.version>
|
||||||
<hutool.version>5.8.14</hutool.version>
|
<hutool.version>5.8.12</hutool.version>
|
||||||
<redisson.version>3.20.0</redisson.version>
|
<redisson.version>3.20.0</redisson.version>
|
||||||
<lock4j.version>2.2.3</lock4j.version>
|
<lock4j.version>2.2.3</lock4j.version>
|
||||||
<xxl-job.version>2.3.1</xxl-job.version>
|
<xxl-job.version>2.3.1</xxl-job.version>
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ public class LoginHelper {
|
||||||
try {
|
try {
|
||||||
userId = Convert.toLong(SaHolder.getStorage().get(USER_KEY));
|
userId = Convert.toLong(SaHolder.getStorage().get(USER_KEY));
|
||||||
if (ObjectUtil.isNull(userId)) {
|
if (ObjectUtil.isNull(userId)) {
|
||||||
userId = Convert.toLong(StpUtil.getExtra(USER_KEY).toString());
|
userId = Convert.toLong(StpUtil.getExtra(USER_KEY));
|
||||||
SaHolder.getStorage().set(USER_KEY, userId);
|
SaHolder.getStorage().set(USER_KEY, userId);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue