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