调整领导班子

This commit is contained in:
2020-11-05 13:13:24 +08:00
parent 31307a9735
commit ef4a3292a4
8 changed files with 1184 additions and 998 deletions

View File

@@ -10,6 +10,14 @@ class Article extends Model
use HasOneCover, BelongsToCategory;
/**
* 应进行类型转换的属性
* @var array
*/
protected $casts = [
'subjoin' => 'array',
];
public function getLinkAttribute()
{
return route('article.show', $this);