Files
mayi-grade/app/tools/controller/System.php
T
2021-08-03 21:04:57 +08:00

21 lines
372 B
PHP
Executable File

<?php
declare (strict_types = 1);
namespace app\tools\controller;
// 引用控制器基类
use app\BaseController;
class System extends BaseController
{
// 是否启用别名
public function sysInfo()
{
// 实例化系统设置对象
$sys = new \app\system\model\SystemBase;
$alias = $sys->sysInfo();
return $alias;
}
}