Commit 4d3aec0f authored by 吴琼's avatar 吴琼

xiugai canshu

parent a2494fa3
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment