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

feature: online update

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