仓储推送到租赁平台

This commit is contained in:
15856 2024-07-29 17:37:08 +08:00
parent c0aa735d29
commit 432602333b
1 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ public class MaMachineServiceImpl implements MaMachineService {
map.put("body", encrypt); map.put("body", encrypt);
String body = JSONObject.toJSONString(map);*/ String body = JSONObject.toJSONString(map);*/
String data = HttpHelper.sendHttpPost(zlptUrl, encrypt); String data = HttpHelper.sendHttpPost(zlptUrl, encrypt);
System.err.println("dataString-=========:" + data); log.info("dataString-=========:" + data);
//对返回的结果进行处理 //对返回的结果进行处理
resultDataHandler(data); resultDataHandler(data);
@ -190,7 +190,7 @@ public class MaMachineServiceImpl implements MaMachineService {
// throw new RuntimeException(e); // throw new RuntimeException(e);
return AjaxResult.success("请求成功!"); return AjaxResult.success("请求成功!");
} }
return null; return AjaxResult.success("请求成功!");
} }
private void resultDataHandler(String data) throws Exception { private void resultDataHandler(String data) throws Exception {