mirror of
https://github.com/aoaostar/toolbox.git
synced 2026-01-11 06:21:35 +00:00
使用naive ui重构后台面板
重构用户系统,方便支持更多OAuth认证方式
重构插件系统,方便静态资源的添加
BREAKING CHANGE: 🧨 更改管理员身份认证为用户id
18 lines
250 B
PHP
18 lines
250 B
PHP
<?php
|
|
|
|
|
|
namespace app\controller;
|
|
|
|
|
|
use app\BaseController;
|
|
|
|
class Admin extends BaseController
|
|
{
|
|
protected function initialize()
|
|
{
|
|
// View::config(['view_path' => '']);
|
|
}
|
|
public function index(){
|
|
return view();
|
|
}
|
|
} |