Explorar el Código

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

Roc hace 3 años
padre
commit
8c05634560
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)
 		}
 	}()