mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
API Market Service Interface add service_kind Field
This commit is contained in:
@@ -39,6 +39,7 @@ type ServiceBasic struct {
|
||||
UpdateTime auto.TimeLabel `json:"update_time"`
|
||||
Logo string `json:"logo"`
|
||||
ApprovalType string `json:"approval_type"`
|
||||
ServiceKind string `json:"service_kind"`
|
||||
InvokeAddress string `json:"invoke_address"`
|
||||
}
|
||||
|
||||
|
||||
@@ -299,6 +299,7 @@ func (i *imlCatalogueModule) ServiceDetail(ctx context.Context, sid string) (*ca
|
||||
UpdateTime: auto.TimeLabel(r.CreateAt),
|
||||
Logo: s.Logo,
|
||||
ApprovalType: s.ApprovalType.String(),
|
||||
ServiceKind: s.Kind.String(),
|
||||
InvokeAddress: invokeAddress,
|
||||
},
|
||||
APIDoc: apiDoc,
|
||||
|
||||
Reference in New Issue
Block a user