feat: config
This commit is contained in:
@@ -88,7 +88,7 @@ class Sku extends Model
|
||||
->orderBy('sort')
|
||||
->get();
|
||||
|
||||
if (empty($res)) return [];
|
||||
if ($res->isEmpty()) return [];
|
||||
|
||||
return $res->toArray();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user