初始化

缺陷:主题配色需要优化整体的同风格
This commit is contained in:
2026-08-14 23:21:21 +08:00
parent 6e2769c528
commit bcf54c2727
152 changed files with 13521 additions and 141 deletions

View File

@@ -14,6 +14,17 @@ class BaseController
protected array $notRequest = [];
protected array $updateField = [];
protected $service;
/**
* @var array<int, string> 不注册成路由的方法名
*
* autoRouteRegister 是反射整个类,继承来的方法也会被注册,
* 于是每个控制器都白得一套 list/option/detail/create/update/delete。
* 对不该有 CRUD 的控制器(比如登录),在子类里声明要排除的方法即可,
* 不必为了挂 @Method NO 去空覆写六个方法。
*/
protected array $exceptRoute = [];
public function __construct()
{
}