소스 검색

feat:新增定时检测路透数据服务器任务

Roc 3 년 전
부모
커밋
8c05634560
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/data/edb_info.go

+ 1 - 1
services/data/edb_info.go

@@ -237,7 +237,7 @@ func CheckLtDataInterface(cont context.Context) (err error) {
 			go utils.SendEmail(utils.APPNAME+"【"+utils.RunMode+"】"+"检测数据接口:失败提醒", "检测路透数据服务器失败:CheckLtDataInterface ErrMsg:"+err.Error(), utils.EmailSendToUsers)
 		}
 		result := string(body)
-		if result != `ek true` {
+		if result != `"ek true"` {
 			go utils.SendEmail(utils.APPNAME+"【"+utils.RunMode+"】"+"检测数据接口:失败提醒", "检测路透数据服务器失败:CheckLtDataInterface ErrMsg:"+string(body), utils.EmailSendToUsers)
 		}
 	}()