You've already forked lubo_comment_query
							
							新款导入节目单,自动匹配时间(需提前导入分P信息)
This commit is contained in:
		| @@ -4,9 +4,15 @@ namespace App\Models; | ||||
| 
 | ||||
| use Illuminate\Database\Eloquent\Model; | ||||
| 
 | ||||
| /** | ||||
|  * @property \Carbon\Carbon $duration | ||||
|  */ | ||||
| class VideoParts extends Model | ||||
| { | ||||
|     public $timestamps = false; | ||||
|     protected $casts = [ | ||||
|         "duration" => "datetime", | ||||
|     ]; | ||||
|     public function video(): \Illuminate\Database\Eloquent\Relations\BelongsTo | ||||
|     { | ||||
|         return $this->belongsTo(Videos::class, "bvid", "bvid"); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user