预留在线升级功能

This commit is contained in:
2020-05-09 21:41:51 +08:00
parent fe89edd979
commit dd64af9482
4 changed files with 93 additions and 4 deletions

View File

@@ -30,6 +30,18 @@ class Index extends Base {
return $this->fetch();
}
/**
* @title 系统更新
*/
public function update(){
$version = new \com\Version();
$info = $version->check();
$this->data['info'] = $info;
return $this->fetch();
}
/**
* @title 用户登录
* @return html