feat:完善项目信息
This commit is contained in:
@ -107,7 +107,7 @@ func (c *Activity) Detail(id uint64) (*ActivityDetail, error) {
|
||||
industrys := make([]string, 0)
|
||||
|
||||
for _, v := range out.GetIndustryAttribute() {
|
||||
industrys = append(industrys, config2.GetIndustryInfo(v, "-", "-"))
|
||||
industrys = append(industrys, config2.GetIndustryInfo(v, "-", "-").Value)
|
||||
}
|
||||
|
||||
return &ActivityDetail{
|
||||
|
@ -54,7 +54,7 @@ func achievementSearch(page, pageSize int, keyword, industry string, params map[
|
||||
_industrys := make([]string, 0)
|
||||
|
||||
for _, v := range v.GetIndustryAttribute() {
|
||||
_industrys = append(_industrys, config.GetIndustryInfo(v, "-", "/"))
|
||||
_industrys = append(_industrys, config.GetIndustryInfo(v, "-", "/").Value)
|
||||
}
|
||||
|
||||
v.Image.Image = v.Image.Analysis(config2.SystemConfig[config2.SysImageDomain])
|
||||
|
@ -60,7 +60,7 @@ func searchCompany(page, pageSize int, keyword, industry string, params map[stri
|
||||
_industrys := make([]string, 0)
|
||||
|
||||
for _, v := range v.GetIndustryAttribute() {
|
||||
_industrys = append(_industrys, config.GetIndustryInfo(v, "-", "/"))
|
||||
_industrys = append(_industrys, config.GetIndustryInfo(v, "-", "/").Value)
|
||||
}
|
||||
list = append(list, &CompanyInfo{
|
||||
ID: v.GetEncodeID(), Kind: v.Kind, Name: v.Name,
|
||||
|
@ -56,7 +56,7 @@ func searchExpert(page, pageSize int, keyword, industry string, params map[strin
|
||||
_industrys := make([]string, 0)
|
||||
|
||||
for _, v := range v.GetIndustryAttribute() {
|
||||
_industrys = append(_industrys, config.GetIndustryInfo(v, "-", "/"))
|
||||
_industrys = append(_industrys, config.GetIndustryInfo(v, "-", "/").Value)
|
||||
}
|
||||
|
||||
v.Image.Image = v.Image.Analysis(config2.SystemConfig[config2.SysImageDomain])
|
||||
|
@ -56,7 +56,7 @@ func searchLaboratory(page, pageSize int, keyword, industry string, params map[s
|
||||
_industrys := make([]string, 0)
|
||||
|
||||
for _, v := range v.GetIndustryAttribute() {
|
||||
_industrys = append(_industrys, config.GetIndustryInfo(v, "-", "/"))
|
||||
_industrys = append(_industrys, config.GetIndustryInfo(v, "-", "/").Value)
|
||||
}
|
||||
|
||||
v.Image.Image = v.Image.Analysis(config2.SystemConfig[config2.SysImageDomain])
|
||||
|
Reference in New Issue
Block a user