最新的api路径
This commit is contained in:
@@ -14,22 +14,22 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
[]rest.Route{
|
||||
{
|
||||
Method: http.MethodPost,
|
||||
Path: "/inventory/take",
|
||||
Path: "/api/inventory/take",
|
||||
Handler: TakeHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/inventory/list",
|
||||
Path: "/api/inventory/list",
|
||||
Handler: GetCloudListHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodPost,
|
||||
Path: "/inventory/supplement",
|
||||
Path: "/api/inventory/supplement",
|
||||
Handler: SupplementHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/inventory/pick-up-list",
|
||||
Path: "/api/inventory/pick-up-list",
|
||||
Handler: GetPickupListHandler(serverCtx),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user