瀏覽代碼

兼容前端

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)