feat:完善项目信息

This commit is contained in:
henry
2022-01-11 10:41:46 +08:00
parent 6712feec35
commit 7cab0fb354
24 changed files with 188 additions and 169 deletions

View File

@ -27,6 +27,7 @@ type (
InstanceInfo struct {
ID string `json:"id"`
*model2.SysTenant
Area string `json:"area"`
}
// InstanceSelectInfo 租户筛选信息
InstanceSelectInfo struct {
@ -66,6 +67,7 @@ func (c *Instance) Index(name string, page, pageSize int) (*controller.ReturnPag
list = append(list, &InstanceInfo{
ID: v.GetEncodeID(),
SysTenant: v,
Area: v.FormatBasic(),
})
}
return &controller.ReturnPages{Data: list, Count: count}, nil