Selaa lähdekoodia

update pay order product store rules

abiao 4 vuotta sitten
vanhempi
commit
1974c2eb2d

+ 2 - 2
go/gopath/src/fohow.com/apps/controllers/pay_controller/pay_exchange_controller.go

@@ -425,8 +425,8 @@ func CreateOrderNotify(order *order_model.Order, product *product_model.Product)
 }
 
 //获取库存不足商品
-func FindNotEnoughPrd(buyList map[int64]int64) (bool, string) {
-
+func FindNotEnoughPrd(storeMap map[int64]int64) (bool, string) {
+	buyList := storeMap
 	//判断商品库存
 	for pId, nums := range buyList {
 		product := product_model.GetProductById(pId, true)