|
@@ -44,7 +44,7 @@ func GetEdbDataFromThs(edbCode, startDate, endDate string) (item *EdbDataFromThs
|
|
|
|
|
|
// getEdbDataFromThs 获取同花顺接口数据
|
|
|
func getEdbDataFromThs(edbCode, startDate, endDate string, num int) (item *EdbDataFromThs, err error) {
|
|
|
- thsUrl := utils.Hz_Ths_Data_Url + `edbInfo/ths?EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
+ thsUrl := utils.Hz_Wind_Data_Url + `edbInfo/ths?EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
thsUrl = fmt.Sprintf(thsUrl, edbCode, startDate, endDate)
|
|
|
utils.FileLog.Info("thsUrl:" + thsUrl)
|
|
|
body, err := http.Get(thsUrl)
|