| | |
| | | try { |
| | | String jsonString = objectMapper.writeValueAsString(serviceQueryInfo); |
| | | log.error("token的值为:{}", token); |
| | | result = OkHttpExample.sendPostRequest("https://9.0.124.84:13021/mediinfo-grus-fuwuzxwg/api/esb/lyraSyncRun", jsonString, token); |
| | | result = OkHttpExample.sendPostRequest("https://9.0.124.104:13021/mediinfo-grus-fuwuzxwg/api/esb/lyraSyncRun", jsonString, token); |
| | | map = objectMapper.readValue(result, Map.class); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | Integer code = (Integer) map.get("code"); |
| | | if (code != null && code == 0) { |
| | | map.put("code", 200); |
| | | } |
| | | |
| | | return map; |
| | | } |