From 7955a9747b4e9f004aca43eb5a46b4078d5da764 Mon Sep 17 00:00:00 2001 From: chenchun Date: Wed, 26 Jun 2024 12:48:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E9=93=B6=E8=A1=8C?= =?UTF-8?q?=E5=BC=82=E6=AD=A5=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/bbs/Yi.Framework.Bbs.Domain/Managers/BankManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Domain/Managers/BankManager.cs b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Domain/Managers/BankManager.cs index e751b2e1..5a8ee7ac 100644 --- a/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Domain/Managers/BankManager.cs +++ b/Yi.Abp.Net8/module/bbs/Yi.Framework.Bbs.Domain/Managers/BankManager.cs @@ -48,7 +48,7 @@ namespace Yi.Framework.Bbs.Domain.Managers //先判断时间是否与当前时间差1小时,小于1小时直接返回即可,可以由一个单例类提供 if (_currentRateStore is null || _currentRateStore.IsExpire()) { - var currentInterestRecords = CreateInterestRecordsAsync().Result; + var currentInterestRecords = CreateInterestRecordsAsync().GetAwaiter().GetResult(); output.ComparisonValue = currentInterestRecords.ComparisonValue; output.CreationTime = currentInterestRecords.CreationTime; output.Value = currentInterestRecords.Value;