kobe6258 4 mesi fa
parent
commit
6c87c64b7f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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