Parcourir la source

Merge branch 'bugfix_6687' into debug

xiziwen il y a 5 mois
Parent
commit
723e78edcd
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      controllers/data_manage/excel/excel_info.go

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

@@ -379,6 +379,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)