Commit c5a1188e authored by clone's avatar clone

bug版本号

parent e12ee918
......@@ -61,6 +61,7 @@ class Version extends Basic
if ($param["type"] == 'android' && isset($param["app_path"])) {
$this->response("101", "安卓请上传安装包");
}
$param["type"] = $param["type"] == "android" ? 1 : 0;
$param["create_time"] = date("Y-m-d H:i:s", time());
$param["update_time"] = date("Y-m-d H:i:s", time());
$result = $this->appVersion->addVersion($param);
......
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