6
0
Fork 0
release
李静 2021-12-08 17:23:22 +08:00
parent 68edb62b37
commit 8d3e849936
1 changed files with 1 additions and 1 deletions

View File

@ -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');
} }
/** /**