Commit 6f9002b7 by xmy

fix:销售数量

parent c5347765
...@@ -67,7 +67,7 @@ interface GoodsInterface ...@@ -67,7 +67,7 @@ interface GoodsInterface
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function incSales($storeId, $goodsId, $num); public function incSales($storeId, $goodsId, $num = 1);
/** /**
* 减少商品销量 * 减少商品销量
...@@ -78,7 +78,7 @@ interface GoodsInterface ...@@ -78,7 +78,7 @@ interface GoodsInterface
* @return mixed * @return mixed
* @author Administrator * @author Administrator
*/ */
public function decSales($storeId, $goodsId, $num); 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