Commit baa2ff58 authored by clone's avatar clone

bug

parent 12b00836
...@@ -38,6 +38,9 @@ class Version extends Basic ...@@ -38,6 +38,9 @@ class Version extends Basic
if(isset($type)){ if(isset($type)){
$this->response("101","请求的设备类型不能为空"); $this->response("101","请求的设备类型不能为空");
} }
if($type == "android"){
$type = 0;
}
$versionResult = $this->appVersion->getVersion($type); $versionResult = $this->appVersion->getVersion($type);
return $this->response("200", "request success", $versionResult); return $this->response("200", "request success", $versionResult);
} }
......
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