Skip to content

Commit

Permalink
Update IpUtil.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Lingxiao108105 committed Oct 19, 2021
1 parent da7b0af commit 6a010e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/tech/crm/crmserver/common/utils/IpUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static IpAddress sendPostRequest(String ip){

HttpEntity<MultiValueMap<String, String>> requestEntity = new HttpEntity<>(null, headers);

ResponseEntity<IpAddress> response = client.exchange(URL, method, requestEntity, IpAddress.class);
ResponseEntity<IpAddress> response = client.exchange(url, method, requestEntity, IpAddress.class);
if(response.getStatusCode() != HttpStatus.OK){
return null;
}
Expand Down

0 comments on commit 6a010e8

Please sign in to comment.