mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 打印日志
This commit is contained in:
@@ -880,7 +880,7 @@ public class LianLianServiceImpl implements LianLianService {
|
||||
|
||||
String response = HttpUtil.post(requestUrl, tokenRequest);
|
||||
LianLianResultVO result = JSON.parseObject(response, LianLianResultVO.class);
|
||||
logger.info("获取令牌 result:{}", result);
|
||||
// logger.info("获取令牌 result:{}", result);
|
||||
|
||||
if (result.getRet() == 0) {
|
||||
// 解密data
|
||||
@@ -889,8 +889,9 @@ public class LianLianServiceImpl implements LianLianService {
|
||||
String dataStr = new String(plainText, "UTF-8");
|
||||
Map<String, String> resultMap = (Map<String, String>) JSON.parse(dataStr);
|
||||
token = resultMap.get("AccessToken");
|
||||
logger.info("token: {}", token);
|
||||
// logger.info("token: {}", token);
|
||||
}
|
||||
logger.info("获取令牌 result:{}, token: {}", result, token);
|
||||
} catch (Exception e) {
|
||||
return token;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user