(self)
return self._user if hasattr(self, "_user") else self._local_user
不从微信服务器重新同步用户
        :rtype: wechat_django.models.WeChatUser
不从微信服务器重新同步用户
        :rtype: wechat_django.models.WeChatUser
不从微信服务器重新同步用户 : rtype : wechat_django . models . WeChatUser
def local_user(self):
        """
        不从微信服务器重新同步用户
        :rtype: wechat_django.models.WeChatUser
        """
        if not hasattr(self, "_user") and not hasattr(self, "_local_user"):
            self._local_user = self.app.user_by_openid(
                self.openid, ignore_errors=True, sync_user=False)
        return self._user if hasattr(self, "_user") else self._local_user
def local_user ( self ) : if not hasattr ( self , "_user" ) and not hasattr ( self , "_local_user" ) : self . _local_user = self . app . user_by_openid ( self . openid , ignore_errors = True , sync_user = False ) return self . _user if hasattr ( self , "_user" ) else self . _local_user