shish 2 years ago
parent
commit
0f66a77707
1 changed files with 1 additions and 1 deletions
  1. 1 1
      console/controllers/ItemController.php

+ 1 - 1
console/controllers/ItemController.php

@@ -38,7 +38,7 @@ class ItemController extends Controller
     //【重要】将花材的分类id同步到批发销售单、批发采购单和零售销售单
     public function actionSyncClass()
     {
-        ini_set('memory_limit', '2045M');
+        ini_set('memory_limit', '5120M');
         set_time_limit(0);
         $itemList = ItemClass::getAllByCondition(['id>' => 0], null, '*', null, true);
         if (empty($itemList)) {