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