|
@@ -14,92 +14,92 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
|
[]rest.Route{
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/publish/biddingInfo",
|
|
|
+ Path: "/jyinfo/publish/biddingInfo",
|
|
|
Handler: pubInfoHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/publish/supplyInfo",
|
|
|
+ Path: "/jyinfo/publish/supplyInfo",
|
|
|
Handler: pubSupplyInfoHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/supplyInfoDetail",
|
|
|
+ Path: "/jyinfo/supplyInfoDetail",
|
|
|
Handler: supplyInfoDetailHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/supplySearch",
|
|
|
+ Path: "/jyinfo/supplySearch",
|
|
|
Handler: supplySearchHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/publishStatus",
|
|
|
+ Path: "/jyinfo/publishStatus",
|
|
|
Handler: pubInfoCountHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/pushedRelated",
|
|
|
+ Path: "/jyinfo/pushedRelated",
|
|
|
Handler: assProjecctHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/getArea",
|
|
|
+ Path: "/jyinfo/getArea",
|
|
|
Handler: getProvinceHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/getIndustry",
|
|
|
+ Path: "/jyinfo/getIndustry",
|
|
|
Handler: getIndustryHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/myPublishList",
|
|
|
+ Path: "/jyinfo/myPublishList",
|
|
|
Handler: myPublishListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/myPublishDetail",
|
|
|
+ Path: "/jyinfo/myPublishDetail",
|
|
|
Handler: myPublishDetailHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/delMyPublish",
|
|
|
+ Path: "/jyinfo/delMyPublish",
|
|
|
Handler: delMyPublishHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/reviewStatus",
|
|
|
+ Path: "/jyinfo/reviewStatus",
|
|
|
Handler: reviewStatusHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/infoFile/upload",
|
|
|
+ Path: "/jyinfo/infoFile/upload",
|
|
|
Handler: uploadHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/manage/infoList",
|
|
|
+ Path: "/jyinfo/manage/infoList",
|
|
|
Handler: infoListHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodGet,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/manage/infoDetail",
|
|
|
+ Path: "/jyinfo/manage/infoDetail",
|
|
|
Handler: infoDetailHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/manage/infoDetail",
|
|
|
+ Path: "/jyinfo/manage/infoDetail",
|
|
|
Handler: infoDetailHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/manage/infoExamine",
|
|
|
+ Path: "/jyinfo/manage/infoExamine",
|
|
|
Handler: infoExamineHandler(serverCtx),
|
|
|
},
|
|
|
{
|
|
|
Method: http.MethodPost,
|
|
|
- Path: "/app.yhyue.com/moapp/jyInfo/manage/organFrozen",
|
|
|
+ Path: "/jyinfo/manage/organFrozen",
|
|
|
Handler: organFrozenHandler(serverCtx),
|
|
|
},
|
|
|
},
|