Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Commit

Permalink
fix: 处理所有未处理告警时的提示错误
Browse files Browse the repository at this point in the history
  • Loading branch information
neargle committed Apr 2, 2018
1 parent 0102db1 commit 5b112d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/controllers/notice.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ func (c *NoticeController) ChangeStatus() {
if err != nil {
beego.Error("Model UpdateAll", err)
res = false
} else {
res = true
}
} else {
res = cli.ChangeStatusbyId(form.Id, form.Status)
Expand Down

0 comments on commit 5b112d6

Please sign in to comment.