修复close_stream接口无回复问题

This commit is contained in:
ziyue 2022-06-14 16:29:04 +08:00
parent 4f444203eb
commit dfec2d76e0

View File

@ -736,6 +736,7 @@ void installWebApi() {
val["result"] = flag ? 0 : -1; val["result"] = flag ? 0 : -1;
val["msg"] = flag ? "success" : "close failed"; val["msg"] = flag ? "success" : "close failed";
val["code"] = flag ? API::Success : API::OtherFailed; val["code"] = flag ? API::Success : API::OtherFailed;
invoker(200, headerOut, val.toStyledString());
}); });
}); });