最新的api路径
This commit is contained in:
@@ -14,17 +14,17 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
||||
[]rest.Route{
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/product-model/detail",
|
||||
Path: "/api/product-model/detail",
|
||||
Handler: GetModelDetailHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodGet,
|
||||
Path: "/product-model/other-info",
|
||||
Path: "/api/product-model/other-info",
|
||||
Handler: GetModelOtherInfoHandler(serverCtx),
|
||||
},
|
||||
{
|
||||
Method: http.MethodPost,
|
||||
Path: "/product-model/update-model",
|
||||
Path: "/api/product-model/update-model",
|
||||
Handler: UpdateProductModelHandler(serverCtx),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user