Commit c5067661 by xmy

商品服务接口

parent a75ec628
......@@ -14,8 +14,8 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGet($storeId, $id)
* @method ResultInterface deferIncSales($storeId, $goodsId)
* @method ResultInterface deferDecSales($storeId, $goodsId)
* @method ResultInterface deferGetServiceByGoodsId($storeId, $goodsId,$type)
* @method ResultInterface deferGetReturnVisitByGoodsId($storeId, $goodsId,$type)
* @method ResultInterface deferGetServiceByGoodsId($storeId, $goodsId, $type = 2)
* @method ResultInterface deferGetReturnVisitByGoodsId($storeId, $goodsId, $type = 2)
* @method ResultInterface deferListByIds($ids, $storeId)
* Interface GoodsInterface
* @package Hdll\Services\Goods\Lib
......@@ -74,7 +74,7 @@ interface GoodsInterface
* @return mixed
* @author Administrator
*/
public function getServiceByGoodsId($storeId,$goodsId,$type);
public function getServiceByGoodsId($storeId, $goodsId, $type = 2);
/**
......@@ -85,7 +85,7 @@ interface GoodsInterface
* @return mixed
* @author Administrator
*/
public function getReturnVisitByGoodsId($storeId, $goodsId,$type);
public function getReturnVisitByGoodsId($storeId, $goodsId, $type = 2);
/**
* 获取商品列表 ids
......
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