refactor: 文章评论相关接口修改

This commit is contained in:
2025-02-13 15:29:34 +08:00
parent 396e11a930
commit b02984c42f
3 changed files with 3 additions and 11 deletions

View File

@@ -22,12 +22,6 @@ class ArticleLeaveMessageModel extends ArticleLeaveMessageBaseModel
return $this->belongsTo(ArticleModel::class, 'article_id', 'id');
}
// 根据id查询
public function scopeId($query, $value)
{
$query->where('id', '=', $value);
}
// 审核状态查询
public function scopeIsAudited($query, $is_audited)
{