From 349cc71e9d3f14ec7bee878f9aed725e5cafac0a Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 17 May 2024 18:27:32 +0800 Subject: [PATCH] update --- api/cmds/test_page_cmd_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/cmds/test_page_cmd_impl.cpp b/api/cmds/test_page_cmd_impl.cpp index e6be40a..dd60f0f 100644 --- a/api/cmds/test_page_cmd_impl.cpp +++ b/api/cmds/test_page_cmd_impl.cpp @@ -107,7 +107,7 @@ void TestPageCmdImpl::DBDBTestPage__miniPwmBlowerReadFbcount(json& cmd, json& re } void TestPageCmdImpl::DBDBTestPage__extValveCtrl(json& cmd, json& receipt) { - string channel = jsonGet(cmd["params"]["channel"]); + string channel = cmd["params"]["channel"]; int channleVal = -1; if (channel == "disinfectionChannel") { channleVal = IF_DeviceIoContrlService::kExtValveChannel_disinfectionChannel;