diff --git a/AssetManager.API/Controllers/PortfolioController.cs b/AssetManager.API/Controllers/PortfolioController.cs index 5cb7c31..7cce11e 100755 --- a/AssetManager.API/Controllers/PortfolioController.cs +++ b/AssetManager.API/Controllers/PortfolioController.cs @@ -300,38 +300,6 @@ public class PortfolioController : ControllerBase } } - /// - /// 获取交易记录 - /// - [HttpGet("{id}/transactions")] - public async Task>> GetTransactions( - string id, - [FromQuery] int limit = 20, - [FromQuery] int offset = 0) - { - var userId = GetCurrentUserId(); - - var request = new GetTransactionsRequest - { - PortfolioId = id, - Limit = limit, - Offset = offset - }; - - var transactions = await _portfolioFacade.GetTransactionsAsync(id, request, userId); - - return Ok(new ApiResponse - { - code = Models.StatusCodes.Success, - data = new GetTransactionsResponse - { - Items = transactions, - Total = transactions.Count - }, - message = "success" - }); - } - /// /// 获取策略信号 ///