Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
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
head_group
xyqb-user2
Commits
14ee8a1d
Commit
14ee8a1d
authored
Jun 22, 2017
by
技术部—现金贷—曾丽宾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付中心错误反馈
parent
6d1cef7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
UserQueryLogController.java
.../controller/external/queryLog/UserQueryLogController.java
+7
-8
No files found.
src/main/java/cn/quantgroup/xyqb/controller/external/queryLog/UserQueryLogController.java
View file @
14ee8a1d
...
@@ -305,11 +305,7 @@ public class UserQueryLogController {
...
@@ -305,11 +305,7 @@ public class UserQueryLogController {
private
HashMap
<
String
,
String
>
getBankCardsByPhoneNos
(
List
<
String
>
phoneNos
){
private
HashMap
<
String
,
String
>
getBankCardsByPhoneNos
(
List
<
String
>
phoneNos
){
//String phoneNoStr= JSON.toJSONString(phoneNos);
String
phoneNoStr
=
new
Gson
().
toJson
(
phoneNos
);
//phoneNos
List
<
String
>
phoneNoss
=
new
ArrayList
<
String
>();
phoneNoss
.
add
(
"1582223"
);
String
phoneNoStr
=
new
Gson
().
toJson
(
phoneNoss
);
String
data
=
""
;
String
data
=
""
;
String
sign
=
""
;
String
sign
=
""
;
HashMap
<
String
,
String
>
phonesMap
=
new
HashMap
<
String
,
String
>();
HashMap
<
String
,
String
>
phonesMap
=
new
HashMap
<
String
,
String
>();
...
@@ -346,19 +342,22 @@ public class UserQueryLogController {
...
@@ -346,19 +342,22 @@ public class UserQueryLogController {
String
phone
=
jo
.
get
(
"phone"
).
getAsString
();
String
phone
=
jo
.
get
(
"phone"
).
getAsString
();
String
cards
=
""
;
String
cards
=
""
;
for
(
JsonElement
element
:
cardList
){
for
(
JsonElement
element
:
cardList
){
cards
=
cards
+
element
.
getAsString
()+
"
,
"
;
cards
=
cards
+
element
.
getAsString
()+
"
;
"
;
}
}
phonesMap
.
put
(
phone
,
cards
);
phonesMap
.
put
(
phone
,
cards
.
substring
(
0
,
cards
.
length
()-
1
)
);
}
}
}
else
{
}
else
{
phonesMap
.
put
(
"errorMsg"
,
"签名校验失败!"
);
phonesMap
.
put
(
"errorMsg"
,
"签名校验失败!"
);
LOGGER
.
info
(
"签名校验失败!"
);
LOGGER
.
info
(
"签名校验失败!"
);
}
}
}
else
{
}
else
{
phonesMap
.
put
(
"errorMsg"
,
obj
.
get
(
"msg"
).
getAsString
());
phonesMap
.
put
(
"errorMsg"
,
obj
.
get
(
"msg"
).
getAsString
());
LOGGER
.
info
(
"从支付中心接口返回data为null"
);
LOGGER
.
info
(
"从支付中心接口返回data为null"
);
}
}
// if(obj.get("msg")!=null&&!obj.get("msg").getAsString().equals("")){
// phonesMap.put("errorMsg",obj.get("msg").getAsString());
// LOGGER.info("从支付中心接口返回");
// }
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
phonesMap
.
put
(
"errorMsg"
,
"查询银行卡信息接口返回解析异常"
);
phonesMap
.
put
(
"errorMsg"
,
"查询银行卡信息接口返回解析异常"
);
LOGGER
.
info
(
"查询银行卡信息接口返回解析异常"
);
LOGGER
.
info
(
"查询银行卡信息接口返回解析异常"
);
...
...
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