Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
Project
Project
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
hubin
long-tern-care-service
Commits
93558e53
Commit
93558e53
authored
Mar 03, 2023
by
maqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
System.out.println删除
parent
28bfc30f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
TaskController.java
...main/java/com/hungraim/ltc/controller/TaskController.java
+0
-1
CsoftSecurityUtil.java
...rc/main/java/com/hungraim/ltc/util/CsoftSecurityUtil.java
+0
-3
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/TaskController.java
View file @
93558e53
...
...
@@ -265,7 +265,6 @@ public class TaskController {
}
ChAprReport
newChAprReport
=
new
ChAprReport
();
Integer
userId
=
TokenParsingUtil
.
TokenParsing
(
token
,
"userId"
);
System
.
out
.
println
(
chAprReport
.
getPublicityUser
());
if
(
chAprReport
.
getPublicityUser
()
==
null
){
newChAprReport
.
setPublicityUser
(
userId
);
//当前登录人
newChAprReport
.
setPublicityTime
(
new
Date
());
...
...
common/common-core/src/main/java/com/hungraim/ltc/util/CsoftSecurityUtil.java
View file @
93558e53
...
...
@@ -87,7 +87,6 @@ public class CsoftSecurityUtil {
String
sign
=
sha256
(
receivedMap
);
if
(!
sign
.
equals
(
inputSign
))
{
// sign校验不通过,说明双方发送出的数据和对方收到的数据不一致
System
.
out
.
println
(
"input sign: "
+
inputSign
+
", calculated sign: "
+
sign
);
return
null
;
}
...
...
@@ -99,7 +98,6 @@ public class CsoftSecurityUtil {
// 解密data数据
String
data
=
decryptAES
(
key
,
salt
,
receivedMap
.
get
(
"data"
));
System
.
out
.
println
(
"接收到的data内容:"
+
data
);
return
data
;
}
...
...
@@ -131,7 +129,6 @@ public class CsoftSecurityUtil {
String
salt
=
encryptRSA
(
externalPublicKey
,
aesIVWithBase64
);
// 组织业务数据信息,并用上面生成的对称加密的密钥和IV进行加密
System
.
out
.
println
(
"发送的data内容:"
+
sendData
.
toJSONString
());
String
cipherData
=
encryptAES
(
aesKeyWithBase64
,
aesIVWithBase64
,
sendData
.
toJSONString
());
// 组织请求的key、value对
...
...
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