Browse Source

fix:删除报警

zqbao 10 months ago
parent
commit
f31ff3e938
1 changed files with 0 additions and 4 deletions
  1. 0 4
      controllers/my_chart.go

+ 0 - 4
controllers/my_chart.go

@@ -6,9 +6,7 @@ import (
 	"eta/eta_mini_api/models/request"
 	"eta/eta_mini_api/models/request"
 	"eta/eta_mini_api/models/response"
 	"eta/eta_mini_api/models/response"
 	"eta/eta_mini_api/services"
 	"eta/eta_mini_api/services"
-	"eta/eta_mini_api/services/alarm_msg"
 	"eta/eta_mini_api/utils"
 	"eta/eta_mini_api/utils"
-	"fmt"
 	"time"
 	"time"
 
 
 	"github.com/rdlucklib/rdluck_tools/paging"
 	"github.com/rdlucklib/rdluck_tools/paging"
@@ -255,8 +253,6 @@ 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() {
-		b, _ := json.Marshal(br)
-		alarm_msg.SendAlarmMsg(fmt.Sprintf("获得图表详情:%s, user:%d", string(b), this.User.UserId), 1)
 		this.Data["json"] = br
 		this.Data["json"] = br
 		this.ServeJSON()
 		this.ServeJSON()
 	}()
 	}()