application/core/manage/logic/MemberLogic.php
public function addMember($data)
    {
        $data['user_passwd'] = $this->encryptPasswd($data['user_passwd']);
        unset($data['re_passwd']);
        
        return $this->model->add($data);
    }
public function addMember($data)
    {
        $data['user_passwd'] = $this->encryptPasswd($data['user_passwd']);
        unset($data['re_passwd']);
        
        return $this->model->add($data);
    }
public function addMember ( $ data ) { $ data [ 'user_passwd' ] = $ this -> encryptPasswd ( $ data [ 'user_passwd' ] ) ; unset ( $ data [ 're_passwd' ] ) ; return $ this -> model -> add ( $ data ) ; }
添加用户

@param array $data
@return number
添加用户