|
@@ -98,7 +98,7 @@ func getEdbDataFromThsDsApp(stockCode, edbCode, startDate, endDate string, num i
|
|
|
return
|
|
|
}
|
|
|
thsUrl := serverUrl + `edbInfo/ths/ds?StockCode=%s&EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
- thsUrl = fmt.Sprintf(thsUrl, stockCode, edbCode, "2023-11-01", "2023-11-05")
|
|
|
+ thsUrl = fmt.Sprintf(thsUrl, stockCode, edbCode, startDate, endDate)
|
|
|
utils.FileLog.Info("thsUrl:" + thsUrl)
|
|
|
body, err := http.Get(thsUrl)
|
|
|
utils.FileLog.Info("ths result:" + string(body))
|