|
@@ -16,7 +16,7 @@ type EdbDataFromWind struct {
|
|
|
Dt map[string]int64 `json:"DT"`
|
|
|
}
|
|
|
|
|
|
-//万得
|
|
|
+// 万得
|
|
|
func SyncEdbDataByWind(edbInfoId int64, edbCode, startDate, endDate string) (err error) {
|
|
|
defer func() {
|
|
|
if err != nil {
|
|
@@ -24,7 +24,7 @@ func SyncEdbDataByWind(edbInfoId int64, edbCode, startDate, endDate string) (err
|
|
|
}
|
|
|
}()
|
|
|
|
|
|
- windUrl := utils.Hz_Data_Url + `edbInfo/wind?EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
+ windUrl := utils.WindServerUrl + `edbInfo/wind?EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
windUrl = fmt.Sprintf(windUrl, edbCode, startDate, endDate)
|
|
|
utils.FileLog.Info("windUrl:" + windUrl)
|
|
|
body, err := http.Get(windUrl)
|