sku完成,订单、商品上下架管理正在搞

This commit is contained in:
2025-05-21 17:04:10 +08:00
parent 035ab1105c
commit fc503cb95a
18 changed files with 239579 additions and 22 deletions

View File

@@ -21,6 +21,11 @@ class SkuService extends BaseService
];
}
public function getSkuByProductId($id)
{
return $this->model::where('product_id', $id)->orderBy('id', 'desc')->get();
}
/**
* 获取sku管理列表
* @return array