|
@@ -876,7 +876,8 @@ public class ProjectDomainService {
|
|
@Async("pool1")
|
|
@Async("pool1")
|
|
@SneakyThrows
|
|
@SneakyThrows
|
|
public void selectProjectReportById(String projectType, String projectId) {
|
|
public void selectProjectReportById(String projectType, String projectId) {
|
|
- String tokenUrl = customConfiguration.getTokenUri() + "?grant_type=client_credentials" + "&client_id=" + customConfiguration.getClientId() + "&client_secret=" + customConfiguration.getClientSecret();
|
|
|
|
|
|
+// String tokenUrl = customConfiguration.getTokenUri() + "?grant_type=client_credentials" + "&client_id=" + customConfiguration.getClientId() + "&client_secret=" + customConfiguration.getClientSecret();
|
|
|
|
+ String tokenUrl = "http://cloudsimulation.china-icv.cn/simulation/oauth/client/sign/username?username=sysadmin&password=123456";
|
|
log.debug("获取仿真云平台 token:" + tokenUrl);
|
|
log.debug("获取仿真云平台 token:" + tokenUrl);
|
|
String response = HttpUtil.get(tokenUrl);
|
|
String response = HttpUtil.get(tokenUrl);
|
|
ObjectMapper objectMapper = new ObjectMapper();
|
|
ObjectMapper objectMapper = new ObjectMapper();
|