Преглед на файлове

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

zhangl преди 1 година
родител
ревизия
bea0cfa0c7
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      common/models/forms/UserForm.php

+ 2 - 2
common/models/forms/UserForm.php

@@ -142,7 +142,7 @@ class UserForm extends Model
         // 查看该接点人在安置网络中的推荐人数量是否达到上限
         $childNum = UserNetwork::firstFloorChildNum($this->_conUid);
         if($childNum >= 3){
-            $this->addError($attribute, '注册'.$this->userName.'时,接点人'.$this->conUserName.'点位已满无法继续添加');
+//            $this->addError($attribute, '注册'.$this->userName.'时,接点人'.$this->conUserName.'点位已满无法继续添加');
         }
     }
 
@@ -176,7 +176,7 @@ class UserForm extends Model
             // 查看该接点人在安置网络中的推荐人数量是否达到上限
             $childNum = UserNetwork::firstFloorChildNum($this->_conUid);
             if($childNum >= 3){
-                $this->addError($attribute, $this->userName.'的接点人'.$this->conUserName.'点位已满无法继续添加');
+//                $this->addError($attribute, $this->userName.'的接点人'.$this->conUserName.'点位已满无法继续添加');
             }
         } else {
             $this->addError($attribute, '注册'.$this->userName.'时,接点人'.$this->conUserName.'帐号无效');