|
@@ -76,7 +76,7 @@ func GetEdbDataFromWindWsd(securitiesCode, edbCode, startDate, endDate string) (
|
|
|
|
|
|
// GetEdbDataFromWindUrlWsd 通过url获取wind wsd数据
|
|
|
func GetEdbDataFromWindUrlWsd(windUrl, stockCode, edbCode, startDate, endDate string) (item map[string]map[string]interface{}, errorCode int, err error) {
|
|
|
- requestWindUrl := windUrl + `/edbInfo/wind/wsd?StockCode=%s&EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
+ requestWindUrl := windUrl + `edbInfo/wind/wsd?StockCode=%s&EdbCode=%s&StartDate=%s&EndDate=%s`
|
|
|
requestWindUrl = fmt.Sprintf(requestWindUrl, stockCode, edbCode, startDate, endDate)
|
|
|
utils.FileLog.Info(fmt.Sprintf("windUrl:%s", requestWindUrl))
|
|
|
body, err := http.Get(requestWindUrl)
|