From e614d38e0a52c65e209bd52c71a10f4dc0aa3dc4 Mon Sep 17 00:00:00 2001 From: wangchaoxu Date: Fri, 15 Sep 2023 16:36:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ms/api/task/RefreshTokenTaskService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ms-biz/src/main/java/com/ms/api/task/RefreshTokenTaskService.java b/ms-biz/src/main/java/com/ms/api/task/RefreshTokenTaskService.java index 2718579b..40f50961 100644 --- a/ms-biz/src/main/java/com/ms/api/task/RefreshTokenTaskService.java +++ b/ms-biz/src/main/java/com/ms/api/task/RefreshTokenTaskService.java @@ -2,6 +2,7 @@ package com.ms.api.task; import cn.hutool.core.date.DateUtil; import cn.hutool.core.util.ObjectUtil; +import com.alibaba.fastjson.JSONObject; import com.doudian.open.api.token_refresh.TokenRefreshRequest; import com.doudian.open.api.token_refresh.TokenRefreshResponse; import com.doudian.open.api.token_refresh.param.TokenRefreshParam; @@ -100,6 +101,7 @@ public class RefreshTokenTaskService extends TaskBaseService { TokenRefreshParam param = request.getParam(); param.setRefreshToken(oldRefreshToken); param.setGrantType("refresh_token"); + log.info("TokenRefreshParam: " + JSONObject.toJSONString(param)); TokenRefreshResponse response = request.execute(); String newAccessToken = response.getData().getAccessToken(); String newRefreshToken = response.getData().getRefreshToken();