소스 검색

兼容前端

xiziwen 3 달 전
부모
커밋
f6cebd1519
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      controllers/data_manage/excel/excel_info.go

+ 4 - 0
controllers/data_manage/excel/excel_info.go

@@ -377,6 +377,10 @@ func (c *ExcelInfoController) List() {
 	adminId, _ := c.GetInt("AdminId")
 	source, _ := c.GetInt("Source")
 
+	if keyword == `` { // 兼容前端
+		keyword = c.GetString("Keyword")
+	}
+
 	var total int
 	page := paging.GetPaging(currentIndex, pageSize, total)