浏览代码

Merge branch 'hotfix/bug7305_report_create' into debug

xyxie 1 周之前
父节点
当前提交
fccb19d0de
共有 1 个文件被更改,包括 11 次插入11 次删除
  1. 11 11
      controllers/report_v2.go

+ 11 - 11
controllers/report_v2.go

@@ -960,17 +960,17 @@ func (this *ReportController) AuthorizedListReport() {
 	var list []*models.ReportList
 
 	// 没有输入信息,那就不展示
-	if keyword == `` && classifyIdFirst <= 0 {
-		page := paging.GetPaging(currentIndex, pageSize, 0)
-		resp := new(models.ReportListResp)
-		resp.Paging = page
-		resp.List = list
-		br.Ret = 200
-		br.Success = true
-		br.Msg = "获取成功"
-		br.Data = resp
-		return
-	}
+	// if keyword == `` && classifyIdFirst <= 0 {
+	// 	page := paging.GetPaging(currentIndex, pageSize, 0)
+	// 	resp := new(models.ReportListResp)
+	// 	resp.Paging = page
+	// 	resp.List = list
+	// 	br.Ret = 200
+	// 	br.Success = true
+	// 	br.Msg = "获取成功"
+	// 	br.Data = resp
+	// 	return
+	// }
 
 	// 当前用户有权限的报告id列表
 	grantReportIdList := make([]int, 0)