feat: 完善对接接口
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user