feat: 添加附件(下载管理)回收站分页/恢复/删除接口

This commit is contained in:
2025-02-21 16:01:40 +08:00
parent c66d7a6761
commit 7402c0a57f
8 changed files with 150 additions and 40 deletions

View File

@@ -24,4 +24,10 @@ class AttachmentCategoryModel extends AttachmentCategoryBaseModel
{
return $this->hasMany(AttachmentModel::class, 'category_id', 'id');
}
// 语言查询
public function scopeLanguage($query, $value)
{
$query->where('language_id', '=', $value);
}
}