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