Commit 94be0d83 authored by 王源's avatar 王源 🎧

产品rpc添加根据主sku品类id获取仓库子sku的id数组方法

parent 8d7e4176
...@@ -100,4 +100,13 @@ interface ProductChildServiceInterface ...@@ -100,4 +100,13 @@ interface ProductChildServiceInterface
*/ */
public function getIdsByChildSku(string $childSku, array $limitIds = null); public function getIdsByChildSku(string $childSku, array $limitIds = null);
/**
* 根据主sku品类id获取仓库子sku的id数组
* @param int $categoryId
* @param int|null $limit
* @return array
* @author Zero
*/
public function getIdsByCategoryId(int $categoryId, int $limit = null);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment