This commit is contained in:
2023-02-15 14:40:27 +08:00
parent d02cf12370
commit 59cc869bb2
9 changed files with 122 additions and 510 deletions

View File

@@ -24,7 +24,6 @@ class Index extends Base{
if(request()->isAjax()){
return ['code' => 1, 'data' => 'SentOS'];
}else{
$area = \think\facade\Db::name('areas')->select();
return view('/index');
}
}

View File

@@ -13,6 +13,11 @@ use app\services\system\ConfigService;
class Index extends Base{
/**
* @title 系统版本
*
* @return void
*/
public function version(){
$system_info_mysql = \think\facade\Db::query("select version() as v;");
$this->data['data'] = [