feat:完善信息
This commit is contained in:
@ -33,13 +33,10 @@ func GetIndustryInfo(industry, mark, sep string) *Industry {
|
||||
data, has := MemoryForIndustryInfo[v]
|
||||
|
||||
if !has {
|
||||
data = "未知"
|
||||
continue
|
||||
}
|
||||
out = append(out, data)
|
||||
}
|
||||
//return strings.Join(out, sep)
|
||||
return &Industry{
|
||||
Key: industry,
|
||||
Value: strings.Join(out, sep),
|
||||
}
|
||||
return &Industry{Key: industry, Value: strings.Join(out, sep)}
|
||||
}
|
||||
|
Reference in New Issue
Block a user