first push

This commit is contained in:
2020-09-11 16:26:01 +08:00
commit fd2e97e190
1455 changed files with 358156 additions and 0 deletions

17
app/Models/File.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
namespace App\Models;
use App\Models\Traits\HasOneCover;
class File extends Model
{
use HasOneCover;
public function getDownloadPathAttribute()
{
return env('APP_URL') . $this->cover_path;
}
}