Skip to content

Commit

Permalink
移除默认 title 字段
Browse files Browse the repository at this point in the history
  • Loading branch information
Becivells committed Jan 30, 2022
1 parent 1becd41 commit 16f921a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/fofa/fofa_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (f *FoFa) FetchJarmOfDomain(queryStr string) bool {
}

func (f *FoFa) Fetch(queryStr string) bool {
return f.fetchByFields("host,title,lastupdatetime", queryStr)
return f.fetchByFields("host,lastupdatetime", queryStr)
}

//func (f *FoFa) fetchFn(fields []string, allSize int32) bool {
Expand All @@ -223,6 +223,8 @@ func getApiErrInfo(code string) string {
switch code {
case "820000":
return "查询语法错误"
case "820005":
return "查询没有权限"
default:
return code
}
Expand Down

0 comments on commit 16f921a

Please sign in to comment.