修bug
This commit is contained in:
@@ -191,7 +191,7 @@ func (a *API) setupRoutes() {
|
||||
// 告警相关路由组
|
||||
alarmGroup := authGroup.Group("/alarm")
|
||||
{
|
||||
thresholdGroup := alarmGroup.Group("/thresholds")
|
||||
thresholdGroup := alarmGroup.Group("/threshold")
|
||||
{
|
||||
thresholdGroup.POST("/:id/snooze", a.alarmController.SnoozeThresholdAlarm) // 忽略阈值告警
|
||||
thresholdGroup.POST("/:id/cancel-snooze", a.alarmController.CancelSnoozeThresholdAlarm) // 取消忽略阈值告警
|
||||
|
||||
Reference in New Issue
Block a user