Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
thirdGateway
Project
Project
Details
Activity
Releases
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
zhanhai
thirdGateway
Commits
bdd59437
Commit
bdd59437
authored
Mar 12, 2021
by
zhangxuehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改参数
parent
e586226e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
ShunfengController.java
...om/thirdgateway/tiansi/controller/ShunfengController.java
+4
-4
ShunfengRoutesTask.java
...java/com/thirdgateway/tiansi/task/ShunfengRoutesTask.java
+2
-2
No files found.
src/main/java/com/thirdgateway/tiansi/controller/ShunfengController.java
View file @
bdd59437
...
...
@@ -108,9 +108,9 @@ public class ShunfengController {
params
.
put
(
"msgDigest"
,
client
.
getMsgDigest
(
msgData
,
timeStamp
,
CHECK_WORD
));
long
startTime
=
System
.
currentTimeMillis
();
logger
.
info
(
"====调用请求:{}"
,
params
.
get
(
"msgData"
));
String
result
=
HttpClientUtil
.
post
(
CALL_URL_
BOX
,
params
);
String
result
=
HttpClientUtil
.
post
(
CALL_URL_
PROD
,
params
);
logger
.
info
(
"====调用丰桥的接口服务代码:{} ==== 接口耗时:{} ==== "
,
String
.
valueOf
(
service
.
getCode
()),
String
.
valueOf
(
System
.
currentTimeMillis
()-
startTime
));
logger
.
info
(
"===调用地址 :{}"
,
CALL_URL_
BOX
);
logger
.
info
(
"===调用地址 :{}"
,
CALL_URL_
PROD
);
logger
.
info
(
"===顾客编码 :{}"
,
CLIENT_CODE
);
logger
.
info
(
"===返回结果:{} ,返回时间:{}"
,
result
,
new
Date
());
return
result
;
...
...
@@ -168,10 +168,10 @@ public class ShunfengController {
long
startTime
=
System
.
currentTimeMillis
();
System
.
out
.
println
(
"====调用请求:"
+
params
.
get
(
"msgData"
));
String
result
=
HttpClientUtil
.
post
(
CALL_URL_
BOX
,
params
);
String
result
=
HttpClientUtil
.
post
(
CALL_URL_
PROD
,
params
);
System
.
out
.
println
(
"====调用丰桥的接口服务代码:"
+
String
.
valueOf
(
testService
.
getCode
())
+
" 接口耗时:"
+
String
.
valueOf
(
System
.
currentTimeMillis
()-
startTime
)+
"===="
);
System
.
out
.
println
(
"===调用地址 ==="
+
CALL_URL_
BOX
);
System
.
out
.
println
(
"===调用地址 ==="
+
CALL_URL_
PROD
);
System
.
out
.
println
(
"===顾客编码 ==="
+
CLIENT_CODE
);
System
.
out
.
println
(
"===返回结果:"
+
result
);
...
...
src/main/java/com/thirdgateway/tiansi/task/ShunfengRoutesTask.java
View file @
bdd59437
...
...
@@ -167,9 +167,9 @@ public class ShunfengRoutesTask extends AbstractJobHandler {
params
.
put
(
"msgDigest"
,
client
.
getMsgDigest
(
msgData
,
timeStamp
,
CHECK_WORD
));
long
startTime
=
System
.
currentTimeMillis
();
logger
.
info
(
"====调用请求:{}"
,
params
.
get
(
"msgData"
));
String
result
=
HttpClientUtil
.
post
(
CALL_URL_
BOX
,
params
);
String
result
=
HttpClientUtil
.
post
(
CALL_URL_
PROD
,
params
);
logger
.
info
(
"====调用丰桥的接口服务代码:{} ==== 接口耗时:{} ==== "
,
String
.
valueOf
(
service
.
getCode
()),
String
.
valueOf
(
System
.
currentTimeMillis
()-
startTime
));
logger
.
info
(
"===调用地址 :{}"
,
CALL_URL_
BOX
);
logger
.
info
(
"===调用地址 :{}"
,
CALL_URL_
PROD
);
logger
.
info
(
"===顾客编码 :{}"
,
CLIENT_CODE
);
logger
.
info
(
"===返回结果:{} ,返回时间:{}"
,
result
,
new
Date
());
return
result
;
...
...
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