Commit 7dcfaa9c by xmy

feat:# 获取商品规格属性

parent 497a8ca2
......@@ -18,7 +18,8 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetReturnVisitByGoodsId($storeId, $goodsId, $type = 2)
* @method ResultInterface deferListByIds($ids, $storeId)
* @method ResultInterface deferGetSkuInfo($skuId, $goodsId, $storeId)
* @method ResultInterface deferGetSkuByIds($goodsId, $skuIds)
* @method ResultInterface deferGetSkuByIds($goodsId, $skuIds, $storeId)
* @method ResultInterface deferGetSpecAttributeByGoodsIds($goodsId, $storeId)
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
*/
......@@ -116,5 +117,15 @@ interface GoodsInterface
* @return mixed
* @author work
*/
public function getSkuByIds($goodsId, $skuIds);
public function getSkuByIds($goodsId, $skuIds, $storeId);
/**
* 获取商品规格属性
* @param $goodsId
* @param $storeId
* @return mixed
* @author work
*/
public function getSpecAttributeByGoodsIds($goodsId, $storeId);
}
\ 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