Commit c5347765 by xmy

fix:销售数量

parent 1b5bba32
......@@ -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);
/**
* 减少商品销量
* 增加商品库存
* @param $storeId
* @param $goodsId
* @param $num
* @return mixed
* @author Administrator
*/
public function decSales($storeId, $goodsId);
public function decSales($storeId, $goodsId, $num);
/**
......
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