Explorar o código

Merge branch 'bzq/dev' of eta_mini/eta_mini_api into debug

鲍自强 hai 10 meses
pai
achega
93786cea0e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      controllers/report.go

+ 2 - 0
controllers/report.go

@@ -831,6 +831,8 @@ func (this *ReportNoAuthController) Detail() {
 	if result.Ret == 200 && result.Data.Report == nil {
 		// 报告不存在, 就尝试删除推送的记录
 		models.DeleteReportPushStatusByReportId(reportId, utils.ReportTypeEta)
+		br.Msg = "报告已删除或未发布,请刷新重试"
+		return
 	}
 
 	br.Msg = "查询成功"