feat : sku

This commit is contained in:
2025-03-27 15:01:12 +08:00
parent fb8fb12c7f
commit 08397f9ea8
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ class Sku extends Model
->where('is_del',GoodCode::SKU_IS_NO_DEL)
->where('saleable',GoodCode::LISTING)
->orderBy('sort')
->select(['id','spu_id','title','image_ids','price','param','extra','total_stock','surplus_stock','order_num','is_add_staple_food'])
->select(['id','spu_id','title','image_ids','price','param','extra','total_stock','surplus_stock','order_num','is_add_staple_food','occupied'])
->get();
}