fix: 恢复GetTotalAssets同步方法以满足接口定义
This commit is contained in:
parent
65abd50108
commit
7abb8796ec
@ -426,6 +426,12 @@ public class PortfolioService : IPortfolioService
|
||||
};
|
||||
}
|
||||
|
||||
// 保留同步方法作为兼容
|
||||
public TotalAssetsResponse GetTotalAssets(string userId)
|
||||
{
|
||||
return GetTotalAssetsAsync(userId).GetAwaiter().GetResult();
|
||||
}
|
||||
|
||||
public async Task<PortfolioDetailResponse> GetPortfolioByIdAsync(string id, string userId)
|
||||
{
|
||||
var portfolio = _db.Queryable<Portfolio>()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user