Update
parent
68edb62b37
commit
8d3e849936
|
|
@ -67,7 +67,7 @@ class ProductSku extends Model
|
||||||
*/
|
*/
|
||||||
public function scopeOnline($query)
|
public function scopeOnline($query)
|
||||||
{
|
{
|
||||||
return $query->whereNotNull('release_at')->whereRelation('category', 'is_show', true);
|
return $query->whereNotNull('release_at');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue