(self, refresh=False)
订单是否是成功订单
订单是否是成功订单
订单是否是成功订单
def is_success(self, refresh=False):
        """订单是否是成功订单"""
        from . import UnifiedOrderResult
        refresh and self.sync()
        try:
            return self.result.is_success()
        except AttributeError:
            return False
def is_success ( self , refresh = False ) : from . import UnifiedOrderResult refresh and self . sync ( ) try : return self . result . is_success ( ) except AttributeError : return False