feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-03 10:08:23 +08:00
parent 199e6f0669
commit d9cbdd2486
26 changed files with 208 additions and 126 deletions

View File

@ -24,8 +24,8 @@ type (
// PatentInfo 专利信息
PatentInfo struct {
*sys.PatentInfo
Shelf model2.ShelfStatusKind
Status model2.SysParentStatus
ShelfStatus model2.ShelfStatusKind
Status model2.SysParentStatus
}
// PatentDetailInfo 专利详细信息
PatentDetailInfo struct {
@ -176,7 +176,7 @@ func (c *Patent) List(kind int, title, applyCode, openCode, ipcCode string, page
ID: v.GetEncodeID(), Title: v.Title, ApplyCode: v.ApplyCode, ApplyName: v.ApplyName,
ApplyAt: v.ApplyAt, Inventor: v.Inventor,
},
Shelf: v.Shelf, Status: v.Status,
ShelfStatus: v.ShelfStatus, Status: v.Status,
})
}
return &controller.ReturnPages{Data: list, Count: count}, nil