Browse Source

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

Roc 3 years ago
parent
commit
f173253e1e
1 changed files with 1 additions and 1 deletions
  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)
 		}
 	}()