From d0f393ba9023d48b83624b1e20c8761b9b57fe46 Mon Sep 17 00:00:00 2001 From: "nodyang@aliyun.com" Date: Thu, 12 Dec 2024 15:53:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.RfidUpload.TouchSocket/WebApiClientApp.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SlnMesnac.RfidUpload.TouchSocket/WebApiClientApp.cs b/SlnMesnac.RfidUpload.TouchSocket/WebApiClientApp.cs index 4f4febd..d7fe3f5 100644 --- a/SlnMesnac.RfidUpload.TouchSocket/WebApiClientApp.cs +++ b/SlnMesnac.RfidUpload.TouchSocket/WebApiClientApp.cs @@ -87,9 +87,13 @@ namespace SlnMesnac.RfidUpload.TouchSocket containerRegisterQuery = paramStr }; var str = jsonChange.ModeToJson(container); + + logger.Info($"apIName:{apiName} paramName:{paramName}"); logger.Info($"请求CSB接口调用服务,参数:{str}"); result = Post(appConfig.localUrl, container); logger.Info($"CSB接口返回信息:{result}"); + + logger.Info("-----------------------------------------------------------------------"); } catch (Exception e) { @@ -106,10 +110,12 @@ namespace SlnMesnac.RfidUpload.TouchSocket string result = string.Empty; try { - + + logger.Info($"apIName: paramName:"); logger.Info($"请求CSB接口调用服务,参数:{paramStr}"); result = Post(appConfig.localUrl, paramStr); logger.Info($"CSB接口返回信息:{result}"); + logger.Info("-----------------------------------------------------------------------"); } catch (Exception e) {