From caacbd057c3c23ecef47f5809be20cab7795a733 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期一, 02 三月 2020 17:25:31 +0800 Subject: [PATCH] update protomsg --- controllers/fileAnalysis.go | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/controllers/fileAnalysis.go b/controllers/fileAnalysis.go index b212ded..9f00c4b 100644 --- a/controllers/fileAnalysis.go +++ b/controllers/fileAnalysis.go @@ -166,6 +166,7 @@ typ,_ := strconv.Atoi(c.Query("type")) page,_ := strconv.Atoi(c.Query("page")) size,_ := strconv.Atoi(c.Query("size")) + name := c.Query("name") if page <= 0 { page = 1 } @@ -173,7 +174,7 @@ size = 20 } var api dbapi.FileAnalysisApi - arr,err := api.FindByStackId(stackId, typ, page, size) + arr,err := api.FindByStackId(stackId, typ, name, page, size) if err !=nil { util.ResponseFormat(c,code.ComError, "") } else { -- Gitblit v1.8.0