From cda03972193d12417b51df2f8c6e8a09252fd0c0 Mon Sep 17 00:00:00 2001 From: BlueMatthew Date: Wed, 28 Feb 2024 16:08:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E5=B1=9E=E6=80=A7=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xypower/common/MicroPhotoContext.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/src/main/java/com/xypower/common/MicroPhotoContext.java b/common/src/main/java/com/xypower/common/MicroPhotoContext.java index 465179d2..706901a0 100644 --- a/common/src/main/java/com/xypower/common/MicroPhotoContext.java +++ b/common/src/main/java/com/xypower/common/MicroPhotoContext.java @@ -364,11 +364,11 @@ public class MicroPhotoContext { JSONObject jsonObject = TextUtils.isEmpty(content) ? new JSONObject() : new JSONObject(content); jsonObject.put("CMDID", appConfig.cmdid); - jsonObject.put("Server", appConfig.server); - jsonObject.put("Port", appConfig.port); - jsonObject.put("Protocol", appConfig.protocol); - jsonObject.put("NetworkProtocol", appConfig.networkProtocol); - jsonObject.put("Network", appConfig.network); + jsonObject.put("server", appConfig.server); + jsonObject.put("port", appConfig.port); + jsonObject.put("protocol", appConfig.protocol); + jsonObject.put("networkProtocol", appConfig.networkProtocol); + jsonObject.put("network", appConfig.network); if (appConfig.heartbeat > 0) { jsonObject.put("heartbeat", appConfig.heartbeat);