|
@@ -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()
|