feat: sku

This commit is contained in:
2025-01-22 11:15:02 +08:00
parent 9b7390129d
commit acca7ba7c7
4 changed files with 23 additions and 1 deletions

View File

@@ -80,7 +80,9 @@ class Spu extends Model
->where('kitchen_id',$kitchenId)
->where('is_del',GoodCode::SPU_IS_NO_DEL)
->where('type',$type)
->where('saleable',GoodCode::LISTING)
->orderBy('sort')
->select(['id','cycle_id','chef_id','title','title','sub_title','category_id'])
->get();
}
}