|
@@ -14,52 +14,52 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
[]rest.Route{
|
|
[]rest.Route{
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/bidcoll/isColl",
|
|
|
|
|
|
+ Path: "/jybx/base/isColled",
|
|
Handler: IsCollActionHandler(serverCtx),
|
|
Handler: IsCollActionHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/bidcoll/action",
|
|
|
|
|
|
+ Path: "/jybx/base/collAction",
|
|
Handler: BCActionHandler(serverCtx),
|
|
Handler: BCActionHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/bidcoll/label",
|
|
|
|
|
|
+ Path: "/jybx/base/label",
|
|
Handler: LabelActionHandler(serverCtx),
|
|
Handler: LabelActionHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/bidcoll/getLabel",
|
|
|
|
|
|
+ Path: "/jybx/base/getLabel",
|
|
Handler: GetLabelActionHandler(serverCtx),
|
|
Handler: GetLabelActionHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/bidcoll/list",
|
|
|
|
|
|
+ Path: "/jybx/base/collList",
|
|
Handler: ListHandler(serverCtx),
|
|
Handler: ListHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/bidcoll/addLabel",
|
|
|
|
|
|
+ Path: "/jybx/base/addLabel",
|
|
Handler: AddLabelHandler(serverCtx),
|
|
Handler: AddLabelHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/search/showSearchScreen",
|
|
|
|
|
|
+ Path: "/jybx/base/showSearchScreen",
|
|
Handler: ShowSearchScreenHandler(serverCtx),
|
|
Handler: ShowSearchScreenHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/search/addSearchScreen",
|
|
|
|
|
|
+ Path: "/jybx/base/addSearchScreen",
|
|
Handler: AddSearchScreenHandler(serverCtx),
|
|
Handler: AddSearchScreenHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/search/checkSearch",
|
|
|
|
|
|
+ Path: "/jybx/base/checkSearchScreen",
|
|
Handler: CheckSearchScreenHandler(serverCtx),
|
|
Handler: CheckSearchScreenHandler(serverCtx),
|
|
},
|
|
},
|
|
{
|
|
{
|
|
Method: http.MethodPost,
|
|
Method: http.MethodPost,
|
|
- Path: "/search/delSearch",
|
|
|
|
|
|
+ Path: "/jybx/base/delSearchScreen",
|
|
Handler: DelSearchScreenHandler(serverCtx),
|
|
Handler: DelSearchScreenHandler(serverCtx),
|
|
},
|
|
},
|
|
},
|
|
},
|