|
@@ -148,11 +148,12 @@ func getEdbDataFromThsDsApp(stockCode, edbCode, startDate, endDate string, num i
|
|
|
for _, stockData := range response.Data {
|
|
|
time := stockData["time"].(string)
|
|
|
//thsCode := stockData["thscode"].(string)
|
|
|
- tableTimeList = append(tableTimeList, time)
|
|
|
+ //tableTimeList = append(tableTimeList, time)
|
|
|
|
|
|
for k, v := range stockData {
|
|
|
if k != "time" && k != "thscode" {
|
|
|
if v != nil {
|
|
|
+ tableTimeList = append(tableTimeList, time)
|
|
|
tableValueList = append(tableValueList, v.(float64))
|
|
|
}
|
|
|
}
|