|
@@ -106,6 +106,8 @@ func RefreshEdbData(edbInfoId, source int, edbCode, startDate string) (resp *mod
|
|
|
urlStr = "eia_steo/refresh"
|
|
|
case utils.DATA_SOURCE_PREDICT:
|
|
|
urlStr = "predict/refresh"
|
|
|
+ case utils.DATA_SOURCE_COM_TRADE:
|
|
|
+ urlStr = "com_trade/refresh"
|
|
|
}
|
|
|
if urlStr == "" {
|
|
|
err = fmt.Errorf(fmt.Sprint("source:", source, ";未实现该指标的刷新接口,请联系管理员"))
|