Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
chejia-smart-service
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 9aa8724c
authored
Apr 21, 2021
by
fz
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.修改钥匙返回参数
1 parent
8460e993
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java
src/main/java/com/glsx/smart/service/impl/AiLockingKeyServiceImpl.java
View file @
9aa8724
...
@@ -92,7 +92,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
...
@@ -92,7 +92,7 @@ public class AiLockingKeyServiceImpl implements AiLockingKeyService {
//将数据库密钥解密成明文
//将数据库密钥解密成明文
String
secretKey
=
""
;
String
secretKey
=
""
;
String
secretKey_db
=
carkey
.
getSecretKey
();
String
secretKey_db
=
carkey
.
getSecretKey
();
if
(
StringUtils
.
isNotEmpty
(
secretKey
))
{
if
(
StringUtils
.
isNotEmpty
(
secretKey
_db
))
{
try
{
try
{
secretKey
=
aesEncryptUtils
.
decryptSecret
(
secretKey_db
);
secretKey
=
aesEncryptUtils
.
decryptSecret
(
secretKey_db
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
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