mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
修正软删除方法 改进模板session和cookie变量获取
This commit is contained in:
@@ -38,7 +38,7 @@ trait SoftDelete
|
||||
public static function onlyTrashed()
|
||||
{
|
||||
$model = new static();
|
||||
$field = $this->getDeleteTimeField();
|
||||
$field = $model->getDeleteTimeField();
|
||||
return $model->db()->where($field, 'exp', 'is not null');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user