最新的api路径
This commit is contained in:
@@ -14,27 +14,27 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
[]rest.Route{
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/product-template/detail",
|
||||
Path: "/api/product-template/detail",
|
||||
Handler: GetTemplatevDetailHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/product-template/base-map-list",
|
||||
Path: "/api/product-template/base-map-list",
|
||||
Handler: GetBaseMapListHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodPost,
|
||||
Path: "/product-template/base-map-update",
|
||||
Path: "/api/product-template/base-map-update",
|
||||
Handler: SaveBaseMapHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodPost,
|
||||
Path: "/product-template/base-map-add",
|
||||
Path: "/api/product-template/base-map-add",
|
||||
Handler: AddBaseMapHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodPost,
|
||||
Path: "/product-template/update-template",
|
||||
Path: "/api/product-template/update-template",
|
||||
Handler: UpdateTemplateHandler(serverCtx),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user