提交 dade3686 authored 作者: blu's avatar blu

refactor communitation archtecture to use evdamon only

上级 1137b549
...@@ -338,7 +338,15 @@ public: ...@@ -338,7 +338,15 @@ public:
} }
} // for keys of mgr } // for keys of mgr
ret["data"] = data; ret["data"] = data;
}else{
ret["code"] = 1;
string msg = "no such sn: " + sn;
ret["msg"] = msg;
spdlog::warn("evcloudsvc no config for sn: {}", sn);
} }
}else{
ret["code"] = 2;
ret["msg"] = "invalid request. no param for sn/module";
} }
} }
catch(exception &e) { catch(exception &e) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论