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