Browse Source

修改wind、同花顺数据刷新

317699326@qq.com 3 months ago
parent
commit
7057976ebe
1 changed files with 7 additions and 6 deletions
  1. 7 6
      services/edb_refresh.go

+ 7 - 6
services/edb_refresh.go

@@ -56,12 +56,13 @@ func ConfigRefreshData(cont context.Context) (err error) {
 			wg.Done()
 			continue
 		}
-		if len(edbList) != 0 {
-			// debug环境仅测试刷新钢联
-			if edbList[0].Source == utils.DATA_SOURCE_MYSTEEL_CHEMICAL && utils.RunMode == "debug" {
-				go BaseRefreshData(&wg, edbList[0].Source, edbList[0].SubSource, edbList)
-			}
-		}
+		//if len(edbList) != 0 {
+		//	// debug环境仅测试刷新钢联
+		//	if edbList[0].Source == utils.DATA_SOURCE_MYSTEEL_CHEMICAL && utils.RunMode == "debug" {
+		//
+		//	}
+		//}
+		go BaseRefreshData(&wg, edbList[0].Source, edbList[0].SubSource, edbList)
 	}
 
 	wg.Wait()