Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
0a015e2b
Commit
0a015e2b
authored
Jun 18, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
离职继承查询
parent
10bb2c5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HmLinkServiceImpl.java
...ban/manage/service/service/hm/impl/HmLinkServiceImpl.java
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/hm/impl/HmLinkServiceImpl.java
View file @
0a015e2b
...
@@ -78,12 +78,12 @@ public class HmLinkServiceImpl implements HmLinkService {
...
@@ -78,12 +78,12 @@ public class HmLinkServiceImpl implements HmLinkService {
public
HmLinkBO
getByLinkShortCodeCache
(
String
shortCode
)
{
public
HmLinkBO
getByLinkShortCodeCache
(
String
shortCode
)
{
String
key
=
"hm:link:"
+
shortCode
;
String
key
=
"hm:link:"
+
shortCode
;
HmLinkBO
link
=
RedisUtil
.
getCache
(
key
,
HmLinkBO
.
class
);
HmLinkBO
link
=
RedisUtil
.
getCache
(
key
,
HmLinkBO
.
class
);
//
if (link == null) {
if
(
link
==
null
)
{
link
=
this
.
getByLinkShortCode
(
shortCode
);
link
=
this
.
getByLinkShortCode
(
shortCode
);
if
(
link
!=
null
)
{
if
(
link
!=
null
)
{
RedisUtil
.
setCache
(
key
,
link
,
20
*
60L
);
RedisUtil
.
setCache
(
key
,
link
,
20
*
60L
);
}
}
//
}
}
return
link
;
return
link
;
}
}
...
...
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