feat: 完善对接接口

This commit is contained in:
橙子
2025-03-09 16:21:39 +08:00
parent b48f584db8
commit d605809932
9 changed files with 311 additions and 55 deletions

View File

@@ -56,6 +56,7 @@ namespace Yi.Framework.Stock.Application.Services
StockId = h.StockId,
StockCode = h.StockCode,
StockName = h.StockName,
Quantity = h.Quantity,
CreationTime = h.CreationTime
})
.ToPageListAsync(input.SkipCount, input.MaxResultCount, total);

View File

@@ -137,7 +137,7 @@ namespace Yi.Framework.Stock.Application.Services
/// <summary>
/// 卖出股票
/// </summary>
[HttpPost("stock/sell")]
[HttpDelete("stock/sell")]
[Authorize]
public async Task SellStockAsync(SellStockInputDto input)
{