fix:接口调整

This commit is contained in:
Hiven
2023-08-03 18:27:52 +08:00
parent 2c427662a8
commit 56acf68393
5 changed files with 21 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Handler: TakeHandler(serverCtx),
},
{
Method: http.MethodGet,
Method: http.MethodPost,
Path: "/api/inventory/list",
Handler: GetCloudListHandler(serverCtx),
},