Fix on AdminLTE 3, and add some features
This commit is contained in:
@@ -30,9 +30,9 @@ class Article extends Model
|
||||
return $this->hasMany('App\Models\Shop\ArticlePrice');
|
||||
}
|
||||
|
||||
public function ArticleAttributes()
|
||||
public function Attributes()
|
||||
{
|
||||
return $this->hasMany('App\Models\Shop\ArticleAttribute');
|
||||
return $this->hasManyThrough('App\Models\Shop\ArticleAttribute','App\Models\Shop\ArticlePrice');
|
||||
}
|
||||
|
||||
public function Categories()
|
||||
|
||||
Reference in New Issue
Block a user