| | |
| | | //restTemplate.postForObject("http://localhost:8086/order/test",orderNumberTransferList,String.class); |
| | | |
| | | //向mes发送http请求 |
| | | ResponseEntity<String> response =restTemplate.exchange( |
| | | ResponseEntity<OrderNumberTransferDTO> response =restTemplate.exchange( |
| | | "http://localhost:88/api/loadGlass/order/order/orderChange", |
| | | HttpMethod.POST, |
| | | new HttpEntity<>(orderNumberTransferList), |
| | | String.class); |
| | | OrderNumberTransferDTO.class); |
| | | |
| | | if(response.getStatusCode() == HttpStatus.OK){ |
| | | OrderNumberTransferDTO responseBody = response.getBody(); |
| | | result.put("data",true); |
| | | return result; |
| | | }else{ |