sku完成,订单、商品上下架管理正在搞
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user