浏览代码

Merge branch 'bzq/local' of eta_mini/eta_mini_api into debug

鲍自强 10 月之前
父节点
当前提交
89ea617370
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/my_chart.go

+ 1 - 1
controllers/my_chart.go

@@ -254,7 +254,7 @@ func (this *MyChartController) Locate() {
 func (this *MyChartController) Detail() {
 	br := new(models.BaseResponse).Init()
 	defer func() {
-		if br.Ret == 200 {
+		if br.Ret != 200 {
 			b, _ := json.Marshal(br)
 			alarm_msg.SendAlarmMsg(string(b), 1)
 		}