瀏覽代碼

BA报单报错处理

kevin_zhangl 3 年之前
父節點
當前提交
b604346e87
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      common/models/forms/ApproachDeclarationForm.php

+ 2 - 0
common/models/forms/ApproachDeclarationForm.php

@@ -367,6 +367,8 @@ class ApproachDeclarationForm extends Model
         // 如果有这个新加入的会员,则查找其上级接点
         if($findUserKey !== false){
             if(strtoupper($this->allData[$findUserKey]['type']) == 'ZC'){
+                ini_set('memory_limit','-1');
+                set_time_limit(0);
                 $this->_tempNetworkParentUser[$this->insertUserName][] = $this->allData[$findUserKey]['conUserName'];
                 $this->loopFindParentToNetwork($this->allData[$findUserKey]['conUserName']);
             }