|
@@ -23,7 +23,7 @@ type EdbDataFromThs struct {
|
|
|
}
|
|
|
|
|
|
func SyncEdbDataByThs(edbInfoId int64, edbCode, startDate, endDate string) (err error) {
|
|
|
- thsUrl := utils.Hz_Data_Url + `edbInfo/ths/?EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
+ thsUrl := utils.Hz_Data_Url + `edbInfo/ths?EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
thsUrl = fmt.Sprintf(thsUrl, edbCode, startDate, endDate)
|
|
|
utils.FileLog.Info("thsUrl:%s", thsUrl)
|
|
|
body, err := http.Get(thsUrl)
|