Browse Source

update pay order product store rules

abiao 4 years ago
parent
commit
71f4c1d633

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

@@ -426,6 +426,7 @@ func FindNotEnoughPrd(storeMap map[int64]int64) (bool, string) {
 	for pId, nums := range storeMap {
 		product := product_model.GetProductById(pId, true)
 		if product.Package {
+			beego.BeeLogger.Error("product id %d", product.Id)
 			packageList := product_model.GetPackageList(pId, true)
 			for _, one := range packageList {
 				if _, ok := storeMap[one.ItemId]; ok {