hefei 1 年間 前
コミット
417a47a1df
共有1 個のファイルを変更した4 個の追加0 個の削除を含む
  1. 4 0
      app/controller/api/store/product/Other.php

+ 4 - 0
app/controller/api/store/product/Other.php

@@ -389,10 +389,14 @@ class Other extends BaseController
389 389
                     }
390 390
                     $value['yanglao'] = $yanglao;
391 391
                 }
392
+                $list = array_values($list);
392 393
                 break;
393 394
             default:
394 395
                 $list = [];
395 396
         }
397
+        if($list){
398
+            $list = array_values($list);
399
+        }
396 400
         return self::returnInfo(true, '获取订单列表成功', ['list' => $list]);
397 401
     }
398 402