abiao 5 rokov pred
rodič
commit
ec686344f2

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

@@ -28,7 +28,7 @@ func (self *RailsadminController) OrderStatic() {
 		total := item.Count * item.Price
 		detail := new(order_static_model.OrderStaticDetail).Create(orderStatic.Id, item.ProductId, total, item.Count, item.ProductName, state, IsSend, orderStatic.BeginDate, orderStatic.EndDate)
 		if detail == nil {
-			self.ReturnError(403, apps.CreateOrderFail, "", nil)
+			continue
 		}
 	}
 	self.ServeJSON()