ソースを参照

[智价云] 导出数据量限制更新

tangyuanwang 1 日 前
コミット
8a13504df4

+ 1 - 1
app/Http/Controllers/Manager/Process/LowPriceGoods.php

@@ -360,7 +360,7 @@ class LowPriceGoods extends Controller
                 ->count();
         }
         // 数量过多时,限制导出
-        if ($result_totle > 10000) {
+        if ($result_totle > 100000) {
             return json_send(['code' => 'error', 'msg' => '导出数据过多,请缩小查询条件']);
         }
 

+ 1 - 1
app/Http/Controllers/Manager/Process/ViolationProduct.php

@@ -362,7 +362,7 @@ class ViolationProduct extends Controller
         }
 
         // 数量过多时,限制导出
-        if ($result_totle > 10000) {
+        if ($result_totle > 100000) {
             return json_send(['code' => 'error', 'msg' => '导出数据过多,请缩小查询条件']);
         }
         if ($is_admin != 1 && $company_id != 0) {

+ 1 - 1
app/Http/Controllers/Manager/Process/ViolationStore.php

@@ -306,7 +306,7 @@ class ViolationStore extends Controller
                 ->count();
         }
         // 数量过多时,限制导出
-        if ($result_totle > 10000) {
+        if ($result_totle > 100000) {
             return json_send(['code' => 'error', 'msg' => '导出数据过多,请缩小查询条件']);
         }
         if ($is_admin != 1 && $company_id != 0) {