|
@@ -3,10 +3,13 @@ package services
|
|
|
import (
|
|
|
"context"
|
|
|
"fmt"
|
|
|
+ "hongze/hongze_task_trial/utils"
|
|
|
+ "time"
|
|
|
)
|
|
|
|
|
|
// 同步指标
|
|
|
func SyncHzDataIndex(cont context.Context) (err error) {
|
|
|
+ fmt.Println("SyncHzDataIndex start:", time.Now().Format(utils.FormatDateTime))
|
|
|
//郑州交易所
|
|
|
err = SyncRankingFromZhengzhou()
|
|
|
if err != nil {
|
|
@@ -56,6 +59,7 @@ func SyncHzDataIndex(cont context.Context) (err error) {
|
|
|
// return
|
|
|
//}
|
|
|
//SyncHzDataIndexData()
|
|
|
+ fmt.Println("SyncHzDataIndex end:", time.Now().Format(utils.FormatDateTime))
|
|
|
return err
|
|
|
}
|
|
|
|