Browse Source

fix:修复自定义分析的报警提示bug

Roc 11 months ago
parent
commit
cec48bb122
1 changed files with 3 additions and 3 deletions
  1. 3 3
      controllers/data_manage/excel/excel_classify.go

+ 3 - 3
controllers/data_manage/excel/excel_classify.go

@@ -43,7 +43,7 @@ func (this *ExcelClassifyController) List() {
 	isShowMe, _ := this.GetBool("IsShowMe")
 	// 自定义分析只看自己的
 	if source == utils.CUSTOM_ANALYSIS_TABLE {
-		AnalysisClassifyList(this)
+		br = AnalysisClassifyList(this)
 		return
 	}
 
@@ -134,8 +134,8 @@ func (this *ExcelClassifyController) List() {
 	br.Data = resp
 }
 
-func AnalysisClassifyList(this *ExcelClassifyController) {
-	br := new(models.BaseResponse).Init()
+func AnalysisClassifyList(this *ExcelClassifyController) (br *models.BaseResponse) {
+	br = new(models.BaseResponse).Init()
 	defer func() {
 		this.Data["json"] = br
 		this.ServeJSON()