update 打印日志

This commit is contained in:
2023-12-15 15:56:02 +08:00
parent 30b39c245b
commit e4e3b3fe9d

View File

@@ -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;
}