Browse Source

Merge branch 'fix/2023-8-30' into debug

Roc 1 year ago
parent
commit
3da3bbce9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/alarm_msg/alarm_msg.go

+ 1 - 1
services/alarm_msg/alarm_msg.go

@@ -25,5 +25,5 @@ func SendAlarmMsg(msgBody string, level int) {
 		utils.FileLog.Info("SendAlarmMsg json.Marshal Err:" + err.Error())
 		return
 	}
-	http.Post(utils.AlarmMsgUrl, string(param))
+	http.Post(utils.AlarmMsgUrl, string(param), "application/json")
 }