Commit 045bffad by xmy

Merge branch 'fix-sales'

parents edcf0769 6f9002b7
......@@ -63,20 +63,22 @@ interface GoodsInterface
* 减少商品库存
* @param $storeId
* @param $goodsId
* @param $num
* @return mixed
* @author Administrator
*/
public function incSales($storeId, $goodsId);
public function incSales($storeId, $goodsId, $num = 1);
/**
* 减少商品销量
* 增加商品库存
* @param $storeId
* @param $goodsId
* @param $num
* @return mixed
* @author Administrator
*/
public function decSales($storeId, $goodsId);
public function decSales($storeId, $goodsId, $num = 1);
/**
......
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