feat:多项功能优化
This commit is contained in:
@@ -133,7 +133,7 @@ func RegisterHandlers(server *rest.Server, ctx *svc.ServiceContext) {
|
||||
[]rest.Route{
|
||||
{Method: http.MethodPost, Path: "/api/zone/create", Handler: createZoneHandler(ctx)},
|
||||
{Method: http.MethodPost, Path: "/api/zone/update", Handler: updateZoneHandler(ctx)},
|
||||
{Method: http.MethodGet, Path: "/api/zone/list", Handler: listZonesHandler(ctx)},
|
||||
{Method: http.MethodGet, Path: "/api/zone/grouped", Handler: listZonesGroupedHandler(ctx)},
|
||||
{Method: http.MethodGet, Path: "/api/zone/picker", Handler: listZonesForPicker(ctx)},
|
||||
{Method: http.MethodGet, Path: "/api/zone/recommend", Handler: zoneRecommendHandler(ctx)},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user