|
@@ -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()
|