You've already forked lubo_comment_query
VideoParts引入
This commit is contained in:
@ -41,4 +41,9 @@ class Videos extends Model
|
||||
{
|
||||
return $this->danmakus()->where("platform_id", "=", 3);
|
||||
}
|
||||
|
||||
public function parts(): \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
{
|
||||
return $this->hasMany(VideoParts::class, "bvid", "bvid");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user