rdluck 4 년 전
부모
커밋
31b67a5ffb
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      services/data_source_longzhong.go

+ 2 - 2
services/data_source_longzhong.go

@@ -629,7 +629,7 @@ func GetLzProductPriceProduct() (err error) {
 			go utils.SendEmail("获取隆众价格指标失败"+time.Now().Format("2006-01-02 15:04:05"), ";Err:"+err.Error(), utils.EmailSendToUsers)
 		}
 		if msg != "" {
-			fmt.Println("msg:",msg)
+			fmt.Println("msg:", msg)
 			go utils.SendEmail("获取隆众价格指标失败"+time.Now().Format("2006-01-02 15:04:05"), ";msg:"+msg, utils.EmailSendToUsers)
 		}
 	}()
@@ -689,7 +689,7 @@ func GetLzProductPriceProduct() (err error) {
 				}
 			}
 		}
-
+		time.Sleep(31 * time.Second)
 	}
 	return
 }