code: public function addMember($data)
      {
          $data['user_passwd'] = $this->encryptPasswd($data['user_passwd']);
          unset($data['re_passwd']);
          
          return $this->model->add($data);
      }
docs: 添加用户
  
  @param array $data
  @return number