refactor: 修改admin中导航model
This commit is contained in:
@@ -3,19 +3,12 @@ declare (strict_types = 1);
|
||||
|
||||
namespace app\common\model;
|
||||
|
||||
use think\model\concern\SoftDelete;
|
||||
|
||||
/**
|
||||
* 导航模型
|
||||
* @mixin \think\Model
|
||||
*/
|
||||
class SysNavigationBaseModel extends BaseModel
|
||||
{
|
||||
// 启用软删除
|
||||
use SoftDelete;
|
||||
// 软删除字段
|
||||
protected $deleteTime = 'deleted_at';
|
||||
|
||||
// 表名
|
||||
protected $name = 'sys_navigation';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user