Преглед изворни кода

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.'帐号无效');