From 1f6b10854219e14d6b992cedfe34f536da6a7dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98chaoosc=E2=80=99?= <‘chaoosc@gmail.com’> Date: Mon, 23 Oct 2023 09:34:20 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=9F=A5=E8=AF=A2=E6=8E=A8=E9=80=81=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E5=8E=9F=E5=9B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../factory/comfac/controller/FactoryAuthController.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/controller/FactoryAuthController.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/controller/FactoryAuthController.java index 08343dd18..b2a90050a 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/controller/FactoryAuthController.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/comfac/controller/FactoryAuthController.java @@ -52,7 +52,8 @@ public class FactoryAuthController extends BladeController { @ApiOperationSupport(order = 1) @ApiOperation(value = "获取token推送", notes = "传入factoryAccountDTO") public R token(@Validated @RequestBody FactoryAccountDTO factoryAccountDTO, HttpServletResponse response) { - log.info("############token: 获取账号token"); + log.info("############token: 获取账号token "); + log.info("############请求参数 factoryAccountDTO:{}",factoryAccountDTO); //通过企业id 应用id 秘钥 获取对应的token String corpid = factoryAccountDTO.getCorpid();//企业id String appkey = factoryAccountDTO.getAppkey();//应用id @@ -63,6 +64,8 @@ public class FactoryAuthController extends BladeController { String token = factoryTokenVO.getToken(); //把token放入头 response.setHeader("Authorization",token); + log.info("############响应参数 factoryTokenVO :{}",factoryTokenVO); + return R.data(factoryTokenVO); }catch (CustomerException e){ log.error(e.getMessage(),e);