增加扩展机制定位文件;将common模块实现扩展模式;发布新版本;

This commit is contained in:
2023-09-25 17:07:38 +08:00
parent 3dcf336bbc
commit 184dae8185
65 changed files with 3093 additions and 2751 deletions

View File

@@ -0,0 +1,15 @@
<?php
namespace base\common\constants;
/**
* 管理员常量
* Class AdminConstant.
*/
class AdminConstantBase
{
/**
* 超级管理员,不受权限控制.
*/
const SUPER_ADMIN_ID = 1;
}

View File

@@ -0,0 +1,20 @@
<?php
namespace base\common\constants;
/**
* 菜单常量
* Class MenuConstant.
*/
class MenuConstantBase
{
/**
* 首页的PID.
*/
const HOME_PID = 99999999;
/**
* 模块名前缀
*/
const MODULE_PREFIX = 'ulthon_admin_';
}