创建时,填写bvid

This commit is contained in:
2022-08-04 09:46:43 +08:00
parent b72e766eca
commit 548ff4323f
3 changed files with 14 additions and 7 deletions

View File

@ -8,7 +8,7 @@ use Illuminate\Support\Carbon;
class ProgramVideos extends Model
{
protected $fillable = ["start_part", "start_time", "stop_part", "stop_time"];
protected $fillable = ["video_bvid", "start_part", "start_time", "stop_part", "stop_time"];
protected $dateFormat = 'U';
public function program(): \Illuminate\Database\Eloquent\Relations\BelongsTo
{