预留在线升级功能
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user