Просмотр исходного кода

feat: NG-15: 新会员注册时增加国家与语言选项.

zhangl 1 год назад
Родитель
Сommit
e85e3eee0c
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      common/models/forms/DeclarationForm.php

+ 7 - 7
common/models/forms/DeclarationForm.php

@@ -270,13 +270,13 @@ class DeclarationForm extends Model
             $conUser = $this->_tempParentUser[$this->conUserName];
             // 判断接点会员的下级会员是否大于三个,如果大于三个则不允许
             if($conUser['CON_NUM'] >= 3){
-                if($this->insertUserName){
-                   // $this->addError($attribute, '为'.$this->insertUserName.'报单,指导老师'.$this->conUserName.'下级点位已满');
-                    $this->addError($attribute, 'To'.$this->insertUserName.'Entry,Instructor'.$this->conUserName.'lower level is full');
-                } else {
-                    //$this->addError($attribute, '指导老师'.$this->conUserName.'下级点位已满');
-                    $this->addError($attribute, 'Instructor'.$this->conUserName.'lower level is full');
-                }
+//                if($this->insertUserName){
+//                   // $this->addError($attribute, '为'.$this->insertUserName.'报单,指导老师'.$this->conUserName.'下级点位已满');
+//                    $this->addError($attribute, 'To'.$this->insertUserName.'Entry,Instructor'.$this->conUserName.'lower level is full');
+//                } else {
+//                    //$this->addError($attribute, '指导老师'.$this->conUserName.'下级点位已满');
+//                    $this->addError($attribute, 'Instructor'.$this->conUserName.'lower level is full');
+//                }
                 return;
             }
             if($this->insertUserName){