Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 291e5052
authored
Feb 17, 2021
by
danmo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
a25b8b09
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeEmpleCodeServiceImpl.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeEmpleCodeServiceImpl.java
View file @
291e505
...
@@ -245,7 +245,9 @@ public class WeEmpleCodeServiceImpl extends ServiceImpl<WeEmpleCodeMapper, WeEmp
...
@@ -245,7 +245,9 @@ public class WeEmpleCodeServiceImpl extends ServiceImpl<WeEmpleCodeMapper, WeEmp
.
map
(
Long:
:
new
).
toArray
(
Long
[]::
new
);
.
map
(
Long:
:
new
).
toArray
(
Long
[]::
new
);
WeExternalContactDto
qrcode
=
getQrcode
(
userIdArr
,
departmentIdArr
);
WeExternalContactDto
qrcode
=
getQrcode
(
userIdArr
,
departmentIdArr
);
//设置24小时过期
//设置24小时过期
if
(
qrcode
!=
null
&&
qrcode
.
getConfig_id
()
!=
null
){
redisCache
.
setCacheObject
(
WeConstans
.
WE_EMPLE_CODE_KEY
+
":"
+
qrcode
.
getConfig_id
(),
qrcode
.
getConfig_id
(),
24
,
TimeUnit
.
HOURS
);
redisCache
.
setCacheObject
(
WeConstans
.
WE_EMPLE_CODE_KEY
+
":"
+
qrcode
.
getConfig_id
(),
qrcode
.
getConfig_id
(),
24
,
TimeUnit
.
HOURS
);
}
return
qrcode
;
return
qrcode
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment