Commit b90dfc89 authored by KeYong's avatar KeYong

更新代码

parent 79d4f044
......@@ -71,7 +71,7 @@ public class DcsUtil {
map.put("scope", scope);
map.put("client_id", clientId);
map.put("client_secret", clientSecret);
String content = HttpsGetAndPostUtil.doPost(gettokenUrl, map);
String content = HttpsGetAndPostUtil.sendByHttp(map, gettokenUrl);
logger.info("header:" + JSON.toJSONString(headerMap) + "; body: " + JSON.toJSONString(map) + "; 调用获取token返回:" + content);
if (StringUtils.isNotBlank(content)) {
AppTokenVo appTokenVo = JSONObject.parseObject(content, AppTokenVo.class);
......
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