Commit 9175d1d4 authored by tanyang's avatar tanyang

域名追https

parent 7c6487e4
...@@ -285,7 +285,7 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService { ...@@ -285,7 +285,7 @@ public class SysConfigServiceImpl implements ISysConfigService, ConfigService {
dskAccessTokenDto.put("appKey", appkey); dskAccessTokenDto.put("appKey", appkey);
dskAccessTokenDto.put("appSecret", appSecret); dskAccessTokenDto.put("appSecret", appSecret);
String post = HttpUtil.post(domain + accessTokenAPI, JsonUtils.toJsonString(dskAccessTokenDto)); String post = HttpUtil.post("https://"+domain + accessTokenAPI, JsonUtils.toJsonString(dskAccessTokenDto));
Assert.notEmpty(post, "大司空数据accessTokenAPI响应异常"); Assert.notEmpty(post, "大司空数据accessTokenAPI响应异常");
log.info("大司空数据accessToken API响应:" + post); log.info("大司空数据accessToken API响应:" + post);
Dict dict = JsonUtils.parseMap(post); Dict dict = JsonUtils.parseMap(post);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment