超级总管 - 管理员全模块返工

This commit is contained in:
柳清爽
2025-04-17 18:09:58 +08:00
parent 9c33603c04
commit b7b606701e
13 changed files with 212 additions and 384 deletions

View File

@@ -3,12 +3,15 @@
namespace app\common\model;
use think\Model;
use think\model\concern\SoftDelete;
/**
* 超级管理员模型类
*/
class Administrator extends Model
{
use SoftDelete;
// 设置数据表名
protected $name = 'administrators';
@@ -16,6 +19,7 @@ class Administrator extends Model
protected $autoWriteTimestamp = true;
protected $createTime = 'createTime';
protected $updateTime = 'updateTime';
protected $deleteTime = 'deleteTime';
// 隐藏字段
protected $hidden = [