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