소스 검색

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)
 		}