feat:优化项目信息,待测试修改
This commit is contained in:
@ -61,7 +61,7 @@ func searchExpert(page, pageSize int, keyword, industry string, params map[strin
|
||||
}
|
||||
list := make([]*ExpertInfo, 0)
|
||||
|
||||
mSysPatent := model.NewSysPatent()
|
||||
mTechnologyPatent := model.NewTechnologyPatent()
|
||||
|
||||
for _, v := range experts {
|
||||
_industrys := make([]string, 0)
|
||||
@ -74,8 +74,8 @@ func searchExpert(page, pageSize int, keyword, industry string, params map[strin
|
||||
if v.PatentTitle != "" {
|
||||
for _, val := range strings.Split(v.PatentTitle, "&&") {
|
||||
objs := strings.Split(val, "$$")
|
||||
mSysPatent.Kind = model2.SysParentKind(utils.StringToInt(objs[0]))
|
||||
patentTitles = append(patentTitles, fmt.Sprintf("【%s】%s", mSysPatent.KindTitle(), objs[1]))
|
||||
mTechnologyPatent.Kind = model2.SysParentKind(utils.StringToInt(objs[0]))
|
||||
patentTitles = append(patentTitles, fmt.Sprintf("【%s】%s", mTechnologyPatent.KindTitle(), objs[1]))
|
||||
}
|
||||
}
|
||||
list = append(list, &ExpertInfo{
|
||||
|
Reference in New Issue
Block a user