This commit is contained in:
2025-03-27 14:45:54 +08:00
parent 0148b14764
commit f43ad61f57
5091 changed files with 976401 additions and 110 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace app\admin\model;
use think\Model;
class AuthGroup extends Model
{
// 开启自动写入时间戳字段
protected $autoWriteTimestamp = 'int';
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
public function getNameAttr($value, $data)
{
return __($value);
}
}