lizhen_gitee 11 месяцев назад
Родитель
Сommit
15993c6773
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      addons/unishop/controller/Product.php

+ 1 - 1
addons/unishop/controller/Product.php

@@ -173,7 +173,7 @@ class Product extends Base
         if ($result) {
             $result = collection($result)->toArray();
         } else {
-            $this->error('没有更多数据');
+            $result = [];
         }
         $this->success('', $result);
     }