更新
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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'] = [
|
||||
|
||||
Reference in New Issue
Block a user