You've already forked lubo_comment_query
数据库时间字段cast
This commit is contained in:
@ -9,7 +9,6 @@ use Illuminate\Support\Carbon;
|
||||
class ProgramVideos extends Model
|
||||
{
|
||||
protected $fillable = ["video_bvid", "start_part", "start_time", "stop_part", "stop_time"];
|
||||
protected $dateFormat = 'U';
|
||||
public function program(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Programs::class, "program_id", "id");
|
||||
|
Reference in New Issue
Block a user