feat:完善项目信息

This commit is contained in:
henry
2022-01-20 11:51:02 +08:00
parent 9348c8970c
commit b87cd837be
23 changed files with 86 additions and 83 deletions

View File

@ -34,7 +34,7 @@ func (c *Patent) Instance(title, industry string, page, pageSize int) (*controll
service.WithPatentTitle(title),
service.WithPatentIndustry(industry),
)
out, err := s.Search(page, pageSize)
out, count1, err := s.Search(page, pageSize)
list := make([]*PatentInfo, 0)
@ -66,7 +66,7 @@ func (c *Patent) Instance(title, industry string, page, pageSize int) (*controll
SysPatentInfo: v,
})
}
return &controller.ReturnPages{Data: list, Count: count}, nil
return &controller.ReturnPages{Data: list, Count: count1}, nil
}
// Detail 详细信息