Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-cloud-core
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-cloud-core
Commits
6f8f9387
Commit
6f8f9387
authored
Sep 07, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
yd-common公共模块 -> redis工具类和redis前缀常量
parent
67d2c821
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
yd-common/pom.xml
+5
-0
yd-common/src/main/java/com/yd/common/constant/RedisConstants.java
+12
-0
yd-common/src/main/java/com/yd/common/utils/RedisUtil.java
+0
-0
No files found.
yd-common/pom.xml
View file @
6f8f9387
...
@@ -44,5 +44,10 @@
...
@@ -44,5 +44,10 @@
<groupId>
org.apache.commons
</groupId>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
<artifactId>
commons-lang3
</artifactId>
</dependency>
</dependency>
<!-- redis 缓存操作 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
yd-common/src/main/java/com/yd/common/constant/RedisConstants.java
0 → 100644
View file @
6f8f9387
package
com
.
yd
.
common
.
constant
;
/**
* redis的key前缀常量
*/
public
class
RedisConstants
{
/**
* 后端登录用户缓存信息redis前缀
*/
public
static
final
String
LOGIN_USER
=
"login:user:"
;
}
yd-common/src/main/java/com/yd/common/utils/RedisUtil.java
0 → 100644
View file @
6f8f9387
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment