我已经在本地主机上托管了一个视频
class Type extends Model {
use \Staudenmeir\EloquentHasManyDeep\HasRelationships;
public function Apartment() {
return $this->hasManyDeep(Apartment::class, [City::class, Street::class, House::class])
->where('apartments.type_id', $this->id);
}
}
如何将其转换为blob url,以下是我的代码不起作用
'localhost:3000/videos/a1.m4'