Пример #1
0
 /**
  * 获取会员信息
  * 
  * @param
  *            $userId
  * @param string $selectField            
  */
 public function getUserInfo($where, $selectField = '')
 {
     $this->db = parent::getConn('slave');
     $this->userDao = new User_dao($this->db);
     $userInfo = $this->userDao->getUserInfo($where, $selectField);
     if (!$userInfo) {
         $this->error = $this->userDao->error;
         $this->code = $this->userDao->code;
         return FALSE;
     }
     return $userInfo;
 }