提交 63adf2ae authored 作者: blu's avatar blu

feature: online update

上级 51516144
...@@ -616,12 +616,12 @@ private: ...@@ -616,12 +616,12 @@ private:
} }
} }
json getVersionBundle(string bid) { json getReleaseBundle(string bid) {
json ret; json ret;
return ret; return ret;
} }
json addVersionBundle(json &bundle) { json addReleaseBundle(json &bundle) {
json ret; json ret;
return ret; return ret;
} }
...@@ -830,7 +830,7 @@ public: ...@@ -830,7 +830,7 @@ public:
try{ try{
string bundleId = req.get_param_value("bId"); string bundleId = req.get_param_value("bId");
auto body = json::parse(req.body); auto body = json::parse(req.body);
ret = this->getVersionBundle(bundleId); ret = this->getReleaseBundle(bundleId);
}catch(exception &e) { }catch(exception &e) {
ret["code"] = -1; ret["code"] = -1;
msg = fmt::format("evcloudsvc Get /release Exception: {}", e.what()); msg = fmt::format("evcloudsvc Get /release Exception: {}", e.what());
...@@ -848,7 +848,7 @@ public: ...@@ -848,7 +848,7 @@ public:
ret["msg"] = "ok"; ret["msg"] = "ok";
try{ try{
auto body = json::parse(req.body); auto body = json::parse(req.body);
ret = this->addVersionBundle(body); ret = this->addReleaseBundle(body);
}catch(exception &e) { }catch(exception &e) {
ret["code"] = -1; ret["code"] = -1;
msg = fmt::format("evcloudsvc Post /release Exception: {}", e.what()); msg = fmt::format("evcloudsvc Post /release Exception: {}", e.what());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论