记得上下班打卡 | git大法好,push需谨慎

Commit e259a2b9 authored by jiangxiulong's avatar jiangxiulong

获取小家伙名称 改成http

parent 8a59626a
...@@ -204,7 +204,7 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService { ...@@ -204,7 +204,7 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
if (StringUtil.isNotEmpty(agentId)) { if (StringUtil.isNotEmpty(agentId)) {
try { try {
MultiValueMap<String, String> params = new LinkedMultiValueMap(); MultiValueMap<String, String> params = new LinkedMultiValueMap();
params.add("agentId", agentId); params.add("userId", agentId);
MultiValueMap<String, String> headers = CollectionUtil.linkedMultiValueMapStringString(); MultiValueMap<String, String> headers = CollectionUtil.linkedMultiValueMapStringString();
headers.add("Accept", "application/json;charset=UTF-8"); headers.add("Accept", "application/json;charset=UTF-8");
String returnData = HttpUtil.post(smileUrl + "/smile/frontNoLogin/getUserById", params, headers); String returnData = HttpUtil.post(smileUrl + "/smile/frontNoLogin/getUserById", params, headers);
......
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