kobe6258 hai 7 meses
pai
achega
6c87c64b7f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      controllers/order.go

+ 1 - 0
controllers/order.go

@@ -255,6 +255,7 @@ func (this *OrderController) ProductOrderList() {
 			ListView = append(ListView, view)
 		}(orderItem)
 	}
+	wg.Wait()
 	page := paging.GetPaging(currentIndex, pageSize, total)
 	resp := new(response.ProductOrderListResp)
 	resp.List = ListView