feat: 交易记录接口增加stockCode字段返回
This commit is contained in:
parent
10132f9b82
commit
1d99099fca
@ -82,6 +82,7 @@ public class TransactionItem
|
||||
public string? time { get; set; }
|
||||
public string? type { get; set; }
|
||||
public string? title { get; set; }
|
||||
public string? stockCode { get; set; }
|
||||
public double amount { get; set; }
|
||||
public string? currency { get; set; }
|
||||
public string? status { get; set; }
|
||||
|
||||
@ -403,6 +403,7 @@ public class PortfolioService : IPortfolioService
|
||||
time = t.TransactionTime.ToString("HH:mm:ss"),
|
||||
type = t.Type,
|
||||
title = t.Title,
|
||||
stockCode = t.StockCode,
|
||||
amount = (double)t.TotalAmount,
|
||||
currency = t.Currency,
|
||||
status = t.Status,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user