Browse Source

执行时间

shish 4 năm trước cách đây
mục cha
commit
ec9efab233
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      console/controllers/RefundItemController.php

+ 3 - 0
console/controllers/RefundItemController.php

@@ -43,6 +43,9 @@ class RefundItemController extends Controller
     // ./yii refund-item/order
     public function actionOrder()
     {
+        ini_set('memory_limit', '2045M');
+        set_time_limit(0);
+
         $list = OrderClass::getAllByCondition([], null, '*', null, true);
         echo "数量:" . count($list) . "\n";
         if (empty($list)) {