Explorar o código

test 三分钟

hsun hai 1 ano
pai
achega
f2487be758
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/index_data/jiayue_platform.go

+ 1 - 1
services/index_data/jiayue_platform.go

@@ -210,7 +210,7 @@ func GetNewIndexAndDataFromJiaYue() (indexList []*response.IndexResp, err error)
 	indexCond := ` 1=1`
 	indexPars := make([]interface{}, 0)
 	// TODO:查询半小时前至现在新增指标(具体时间待确定)
-	timeBefore := time.Now().Local().Add(30 * time.Minute).Format(utils.FormatDateTime)
+	timeBefore := time.Now().Local().Add(3 * time.Minute).Format(utils.FormatDateTime)
 	indexCond += ` AND CREATE_TIME >= TO_DATE (:1, 'yyyy-mm-dd hh24:mi:ss') `
 	indexPars = append(indexPars, timeBefore)