@@ -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()