| | |
| | | |
| | | |
| | | private String doHttpRequest(String requestParam, Map<String, Object> headParam, String namespace, String url, String path, String appkey, String ip) { |
| | | String response = "false"; |
| | | String response = "fail"; |
| | | boolean success = false; |
| | | |
| | | try { |
| | |
| | | throw new CoolException("mes接口调用失败,返回信息:" + jsonObject); |
| | | } |
| | | success = true; |
| | | return "true"; |
| | | return null; |
| | | |
| | | } catch (Exception e) { |
| | | log.error(e.getMessage()); |
| | | log.error("mes接口调用失败,返回信息:{}", e.getMessage()); |
| | | //throw new CoolException(e.getMessage()); |
| | | } finally { |
| | | apiLogService.save(namespace, url + path, appkey, ip, requestParam, response, success); |