|
@@ -106,6 +106,17 @@ func (this *WindController) Refresh() {
|
|
|
if !utils.Rc.IsExist(cacheKey) {
|
|
|
utils.Rc.SetNX(cacheKey, 1, 1*time.Minute)
|
|
|
|
|
|
+ //特定的指标过滤(wind不对该指标进行更新了)
|
|
|
+ {
|
|
|
+ edbCodeArr := []string{"S6451662", "S6451679", "S6451670", "S6451671", "s6451669", "S6451693", "S6451694"}
|
|
|
+ has := utils.InArrayByStr(edbCodeArr, req.EdbCode)
|
|
|
+ if has {
|
|
|
+ br.Ret = 200
|
|
|
+ br.Success = true
|
|
|
+ br.Msg = "获取成功"
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
//期货数据,就默认到今天,特殊处理下
|
|
|
endDate := utils.BASE_END_DATE
|
|
|
if strings.Contains(req.EdbCode, ".") {
|