|
|
@ -18,7 +18,7 @@ public class UserService implements IUserService{ |
|
|
public String getUserIdByToken(String token){ |
|
|
public String getUserIdByToken(String token){ |
|
|
String userId = null; |
|
|
String userId = null; |
|
|
// String url = "https://test.tall.wiki/gateway/tall/v1.0/users/claims?token="+token;
|
|
|
// String url = "https://test.tall.wiki/gateway/tall/v1.0/users/claims?token="+token;
|
|
|
String url = "http://localhost:7030/v1.0/users/claims?token="+token; |
|
|
String url = "http://localhost:7130/v3.0/users/claims?token="+token; |
|
|
ResponseEntity<String> response = restTemplate.getForEntity(url,String.class); |
|
|
ResponseEntity<String> response = restTemplate.getForEntity(url,String.class); |
|
|
String strBody = null; |
|
|
String strBody = null; |
|
|
if(response.getStatusCodeValue() == 200){ |
|
|
if(response.getStatusCodeValue() == 200){ |
|
|
|