Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QG
customer-service
Commits
aed1a2fc
Commit
aed1a2fc
authored
Mar 05, 2022
by
吴琼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
恢复配置路径
parent
e9deded0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
TransactionReceiptRecordServiceImpl.java
...mer/service/impl/TransactionReceiptRecordServiceImpl.java
+6
-7
No files found.
src/main/java/cn/quantgroup/customer/service/impl/TransactionReceiptRecordServiceImpl.java
View file @
aed1a2fc
...
@@ -347,8 +347,8 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
...
@@ -347,8 +347,8 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
Integer
userId
=
record
.
getUserId
();
Integer
userId
=
record
.
getUserId
();
String
orderNo
=
record
.
getOrderNo
();
String
orderNo
=
record
.
getOrderNo
();
//调用kdsp接口获取交易凭证订单信息
//调用kdsp接口获取交易凭证订单信息
//
String url = kdspOperationUrl + "/api/kdsp/op/fa-cui/transaction-proof/query";
String
url
=
kdspOperationUrl
+
"/api/kdsp/op/fa-cui/transaction-proof/query"
;
String
url
=
"http://kdsp-operation-test7.liangkebang.net/api/kdsp/op/fa-cui/transaction-proof/query"
;
//
String url = "http://kdsp-operation-test7.liangkebang.net/api/kdsp/op/fa-cui/transaction-proof/query";
try
{
try
{
Map
<
String
,
String
>
header
=
Maps
.
newHashMap
();
Map
<
String
,
String
>
header
=
Maps
.
newHashMap
();
header
.
put
(
"Content-type"
,
"application/json"
);
header
.
put
(
"Content-type"
,
"application/json"
);
...
@@ -598,9 +598,8 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
...
@@ -598,9 +598,8 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
//调用天津自牧用户中心接口
//调用天津自牧用户中心接口
Map
param
=
Maps
.
newHashMap
();
Map
param
=
Maps
.
newHashMap
();
param
.
put
(
"userIds"
,
record
.
getUserId
());
param
.
put
(
"userIds"
,
record
.
getUserId
());
//String userUrl = userSysUrl + "/api/sync/listByUserIds";
String
userUrl
=
userSysUrl
+
"/api/sync/listByUserIds"
;
//String userUrl = "http://passportapi-test.tjzimu.com/api/sync/listByUserIds";
//String userUrl = "http://passportapi-test7.liangkebang.net/api/sync/listByUserIds";
String
userUrl
=
"http://passportapi-test7.liangkebang.net/api/sync/listByUserIds"
;
log
.
error
(
"TransactionReceiptRecordServiceImpl updateTransactionRecordsStatus 调用用户中心 begin"
);
log
.
error
(
"TransactionReceiptRecordServiceImpl updateTransactionRecordsStatus 调用用户中心 begin"
);
String
userResult
=
httpService
.
get
(
userUrl
,
param
);
String
userResult
=
httpService
.
get
(
userUrl
,
param
);
if
(
StringUtils
.
isEmpty
(
userResult
))
{
if
(
StringUtils
.
isEmpty
(
userResult
))
{
...
@@ -628,8 +627,8 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
...
@@ -628,8 +627,8 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
header
.
put
(
"Content-type"
,
"application/json"
);
header
.
put
(
"Content-type"
,
"application/json"
);
header
.
put
(
"qg-tenant-id"
,
"560761"
);
header
.
put
(
"qg-tenant-id"
,
"560761"
);
//调用电商接口
//调用电商接口
//
String kUrl = kdspOperationUrl + "/api/kdsp/op/fa-cui/transaction-proof/check";
String
kUrl
=
kdspOperationUrl
+
"/api/kdsp/op/fa-cui/transaction-proof/check"
;
String
kUrl
=
"http://kdsp-operation-test7.liangkebang.net/api/kdsp/op/fa-cui/transaction-proof/check"
;
//
String kUrl = "http://kdsp-operation-test7.liangkebang.net/api/kdsp/op/fa-cui/transaction-proof/check";
//得到json字符串
//得到json字符串
Map
param1
=
Maps
.
newHashMap
();
Map
param1
=
Maps
.
newHashMap
();
param1
.
put
(
"userId"
,
record
.
getUserId
());
param1
.
put
(
"userId"
,
record
.
getUserId
());
...
...
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