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
4d3aec0f
Commit
4d3aec0f
authored
Jan 19, 2022
by
吴琼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xiugai canshu
parent
a2494fa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
UserServiceImpl.java
.../cn/quantgroup/customer/service/impl/UserServiceImpl.java
+3
-2
No files found.
src/main/java/cn/quantgroup/customer/service/impl/UserServiceImpl.java
View file @
4d3aec0f
...
@@ -848,7 +848,8 @@ public class UserServiceImpl implements IUserService {
...
@@ -848,7 +848,8 @@ public class UserServiceImpl implements IUserService {
try
{
try
{
Map
<
String
,
String
>
header
=
Maps
.
newHashMap
();
Map
<
String
,
String
>
header
=
Maps
.
newHashMap
();
//header.put("Content-type", "application/x-www-form-urlencoded");
header
.
put
(
"Content-type"
,
"application/x-www-form-urlencoded"
);
header
.
put
(
"qg-tenant-id"
,
"560761"
);
Map
param
=
Maps
.
newHashMap
();
Map
param
=
Maps
.
newHashMap
();
if
(
Objects
.
nonNull
(
userQueryParam
.
getUserId
()))
{
if
(
Objects
.
nonNull
(
userQueryParam
.
getUserId
()))
{
param
.
put
(
"userId"
,
String
.
valueOf
(
userQueryParam
.
getUserId
()));
param
.
put
(
"userId"
,
String
.
valueOf
(
userQueryParam
.
getUserId
()));
...
@@ -862,7 +863,7 @@ public class UserServiceImpl implements IUserService {
...
@@ -862,7 +863,7 @@ public class UserServiceImpl implements IUserService {
if
(
Objects
.
nonNull
(
userQueryParam
.
getPageSize
()))
{
if
(
Objects
.
nonNull
(
userQueryParam
.
getPageSize
()))
{
param
.
put
(
"pageSize"
,
userQueryParam
.
getPageSize
());
param
.
put
(
"pageSize"
,
userQueryParam
.
getPageSize
());
}
}
String
result
=
httpService
.
get
(
url
,
param
);
String
result
=
httpService
.
get
(
url
,
header
,
param
);
MoResult
moResult
=
GSON
.
fromJson
(
result
,
MoResult
.
class
);
MoResult
moResult
=
GSON
.
fromJson
(
result
,
MoResult
.
class
);
log
.
info
(
"[user][queryUserCouponInfoByUserParam] 请求业务系统返回值:{}"
,
result
);
log
.
info
(
"[user][queryUserCouponInfoByUserParam] 请求业务系统返回值:{}"
,
result
);
return
moResult
;
return
moResult
;
...
...
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