From 16e5710d68498a562eeaa3f19edb0ad12ac1d799 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Sun, 4 Jun 2023 14:58:53 +0800 Subject: [PATCH 1/2] log: add detail of conn --- pkg/common/constant/constant.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/constant/constant.go b/pkg/common/constant/constant.go index 54ab18cd3..1863ffe5c 100644 --- a/pkg/common/constant/constant.go +++ b/pkg/common/constant/constant.go @@ -281,7 +281,7 @@ const ( const OperationID = "operationID" const OpUserID = "opUserID" const ConnID = "connID" -const OpUserPlatform = "platform" +const OpUserPlatform = "platformID" const Token = "token" const RpcCustomHeader = "customHeader" // rpc中间件自定义ctx参数 const CheckKey = "CheckKey" From e926878e2414f2cd5e9776f0d81f44772a780866 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Sun, 4 Jun 2023 16:09:33 +0800 Subject: [PATCH 2/2] log: add detail of conn --- pkg/common/constant/constant.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/constant/constant.go b/pkg/common/constant/constant.go index 1863ffe5c..54ab18cd3 100644 --- a/pkg/common/constant/constant.go +++ b/pkg/common/constant/constant.go @@ -281,7 +281,7 @@ const ( const OperationID = "operationID" const OpUserID = "opUserID" const ConnID = "connID" -const OpUserPlatform = "platformID" +const OpUserPlatform = "platform" const Token = "token" const RpcCustomHeader = "customHeader" // rpc中间件自定义ctx参数 const CheckKey = "CheckKey"