chenxiqiang 7 лет назад
Родитель
Сommit
7814c0cc48
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      manage-server/app/Http/Controllers/CommonController.php

+ 2
- 2
manage-server/app/Http/Controllers/CommonController.php Просмотреть файл

@@ -157,8 +157,8 @@ class CommonController extends Controller
157 157
             array_push($os, $maternityMatronOrder);
158 158
             array_push($os, $productOrder);
159 159
             $orders = array();
160
-            foreach ($os as $o) {
161
-                foreach ($o as $order) {
160
+            for ($i = 0; $i < sizeof($os); $i++) {
161
+                foreach ($os[i] as $order) {
162 162
                     $data = [];
163 163
                     $data["id"] = $order->id;
164 164
                     $data["classify1"] = $order->classify1;

Загрузка…
Отмена
Сохранить