From 0ce10d63b42524d3e4e4b9a2ea35901048a33eb1 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期一, 02 三月 2020 17:22:37 +0800
Subject: [PATCH] add name filter
---
fileAnalysis.go | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fileAnalysis.go b/fileAnalysis.go
index 413c6b0..0210df4 100644
--- a/fileAnalysis.go
+++ b/fileAnalysis.go
@@ -98,12 +98,13 @@
return files, err
}
-func (api FileAnalysisApi) FindByStackId(stackId string, typ int, page int, size int) (list []protomsg.FileAnalysis,err error) {
+func (api FileAnalysisApi) FindByStackId(stackId string, typ int,name string, page int, size int) (list []protomsg.FileAnalysis,err error) {
url := api.getBasicUrl() + DATA_URL_PREFIX + "/fileAnalysis/findByStackId"
client := NewClient()
paramBody := map[string]string {
"stackId": stackId,
"type": strconv.Itoa(typ),
+ "name": name,
"page": strconv.Itoa(page),
"size": strconv.Itoa(size),
}
--
Gitblit v1.8.0