abiao лет назад: 5
Родитель
Сommit
11e2ba536b

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

@@ -260,7 +260,7 @@ func (self *OrderController) Detail() {
 		beego.BeeLogger.Error("order not exist id=[%s]", oId)
 		self.ReturnError(404, apps.OrderNotExist, "", nil)
 	}
-	orderList := order_model.GetAllDetailsOrderId(o.OrderId, true)
+	orderList := order_model.GetAllDetailsOrderId(o.OrderId, false)
 	for _, item := range orderList {
 		product := product_model.GetProductById(item.ProductId, cache)
 		if product == nil {

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

@@ -372,7 +372,7 @@ func UpdatePdSaleNums(order *order_model.Order) {
 		return
 	}
 
-	orderDtList := order_model.GetAllDetailsOrderId(order.OrderId, true)
+	orderDtList := order_model.GetAllDetailsOrderId(order.OrderId, false)
 
 	if len(orderDtList) == 0 {
 		return

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

@@ -70,7 +70,7 @@ func (self *PayController) payExchange(oId, payWay, tradPwd, returnUrl, source s
 		//获取购物商品明细
 		buy_price_total := int64(0)
 		total_price := int64(0)
-		list := order_model.GetAllDetailsOrderId(order.OrderId, true)
+		list := order_model.GetAllDetailsOrderId(order.OrderId, false)
 		for _, item := range list {
 			//商品状态
 			product := product_model.GetProductById(item.ProductId, false)