Sfoglia il codice sorgente

update pay order product store rules

abiao 4 anni fa
parent
commit
1d3eb876a2

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

@@ -444,7 +444,7 @@ func FindNotEnoughPrd(storeMap map[int64]int64) (bool, string) {
 		}
 	}
 	for r_pid, r_nums := range storeMap {
-		product := product_model.GetProductById(r_pid, true)
+		product := product_model.GetProductById(r_pid, false)
 		if product.Count > int64(0) && product.Count < r_nums {
 			return true, product.Name
 		}