public function CreateUser()
 {
     $OauthUserInfo = Openbiz::$app->getSessionContext()->getVar('_OauthUserInfo');
     if (!$OauthUserInfo) {
         throw new Exception('Unknown OauthUserInfo');
         return;
     }
     $userObj = Openbiz::getObject('oauth.do.UserTokenDO');
     $OauthUser = $userObj->fetchOne("[oauth_uid]='" . $OauthUserInfo['id'] . "'");
     if (!$OauthUser) {
         $userinfo = parent::_doCreateUser();
         //第三方登录用户关联帐号
         if ($userinfo['Id']) {
             include_once Openbiz::$app->getModulePath() . "/oauth/libs/oauth.class.php";
             $OauthObj = new oauthClass();
             if (!$OauthObj->saveUserOAuth($userinfo['Id'], $OauthUserInfo)) {
                 $errorMessage = $this->GetMessage("ASSOCIATED_USER_FAILS");
                 $errors['fld_UserOAuth'] = $errorMessage;
                 $this->processFormObjError($errors);
             }
         }
     }
     $this->processPostAction();
 }