Commit 497a8ca2 by xmy

feat:# 获取sku信息

parent d7dfdf45
...@@ -18,6 +18,7 @@ use Swoft\Core\ResultInterface; ...@@ -18,6 +18,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetReturnVisitByGoodsId($storeId, $goodsId, $type = 2) * @method ResultInterface deferGetReturnVisitByGoodsId($storeId, $goodsId, $type = 2)
* @method ResultInterface deferListByIds($ids, $storeId) * @method ResultInterface deferListByIds($ids, $storeId)
* @method ResultInterface deferGetSkuInfo($skuId, $goodsId, $storeId) * @method ResultInterface deferGetSkuInfo($skuId, $goodsId, $storeId)
* @method ResultInterface deferGetSkuByIds($goodsId, $skuIds)
* Interface GoodsInterface * Interface GoodsInterface
* @package Hdll\Services\Goods\Lib * @package Hdll\Services\Goods\Lib
*/ */
...@@ -107,4 +108,13 @@ interface GoodsInterface ...@@ -107,4 +108,13 @@ interface GoodsInterface
* @author work * @author work
*/ */
public function getSkuInfo($skuId, $goodsId, $storeId); public function getSkuInfo($skuId, $goodsId, $storeId);
/**
* 获取多个sku信息
* @param $goodsId
* @param $skuIds
* @return mixed
* @author work
*/
public function getSkuByIds($goodsId, $skuIds);
} }
\ No newline at end of file
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