|
@@ -1469,7 +1469,7 @@ func CheckWindDataInterface(cont context.Context) (err error) {
|
|
|
go alarm_msg.SendAlarmMsg(msg, 3)
|
|
|
} else {
|
|
|
result := string(body)
|
|
|
- if result != `"wind true"` {
|
|
|
+ if result != `1` {
|
|
|
//go utils.SendEmail(utils.APPNAME+"【"+utils.RunMode+"】"+"检测数据接口:失败提醒", "检测路透数据服务器失败:CheckLtDataInterface ErrMsg:"+string(body), utils.EmailSendToUsers)
|
|
|
//msg := "检测Wind数据服务器2失败:CheckWindDataInterface ErrMsg:" + string(body)
|
|
|
msg := fmt.Sprintf("检测%s失败:CheckWindDataInterface ErrMsg:%s", checkUrl, string(body))
|