From 4de27cf581597578d50a45c89d34019043634e71 Mon Sep 17 00:00:00 2001 From: caiyuchao Date: Mon, 24 Feb 2025 10:41:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E6=8E=88=E6=9D=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/wfc/common/core/utils/ResponseUtils.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wfc-common/wfc-common-core/src/main/java/org/wfc/common/core/utils/ResponseUtils.java b/wfc-common/wfc-common-core/src/main/java/org/wfc/common/core/utils/ResponseUtils.java index d7caf46..677c0c8 100644 --- a/wfc-common/wfc-common-core/src/main/java/org/wfc/common/core/utils/ResponseUtils.java +++ b/wfc-common/wfc-common-core/src/main/java/org/wfc/common/core/utils/ResponseUtils.java @@ -19,4 +19,9 @@ public class ResponseUtils { } } + public static void logResponse(Integer errorCode, String msg) { + if (errorCode != WifiConstants.ERROR_CODE_SUCCESS) { + log.error("Omada error msg: {}", msg); + } + } }