API Market Service Interface add service_kind Field

This commit is contained in:
Liujian
2024-10-21 15:07:02 +08:00
parent 561c001b08
commit 82a3476f62
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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"`
}
+1
View File
@@ -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,