Commit 73ffd489 authored by Niuhaiwen's avatar Niuhaiwen

add response ok to podcontrol

parent d61ee799
No preview for this file type
...@@ -59,8 +59,9 @@ void PluginApiImpl::modify_AmfIP(const std::string &amfip, const unsigned int &a ...@@ -59,8 +59,9 @@ void PluginApiImpl::modify_AmfIP(const std::string &amfip, const unsigned int &a
void PluginApiImpl::create_AmfIpList(TransData &transdata, Pistache::Http::ResponseWriter &response) void PluginApiImpl::create_AmfIpList(TransData &transdata, Pistache::Http::ResponseWriter &response)
{ {
nlohmann::json j;
response.send(Pistache::Http::Code::Ok); j["status"] = "True";
response.send(Pistache::Http::Code::Ok,j.dump());
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment