webman后台
This commit is contained in:
20
dafuweng-webman/app/admin/model/CrudLog.php
Normal file
20
dafuweng-webman/app/admin/model/CrudLog.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\admin\model;
|
||||
|
||||
use support\think\Model;
|
||||
|
||||
class CrudLog extends Model
|
||||
{
|
||||
protected string $table = 'crud_log';
|
||||
protected string $pk = 'id';
|
||||
protected bool $autoWriteTimestamp = true;
|
||||
protected bool $updateTime = false;
|
||||
|
||||
protected array $type = [
|
||||
'table' => 'array',
|
||||
'fields' => 'array',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user