...
|
...
|
@@ -52,15 +52,6 @@ func init() { |
|
|
beego.NSRouter("/partner", &controllers.CommonController{}, "POST:GetPartnerList"),
|
|
|
),
|
|
|
)
|
|
|
// adminRouterV2 := beego.NewNamespace("/v2",
|
|
|
// beego.NSNamespace("/order",
|
|
|
// beego.NSRouter("/purpose/list", &controllers.OrderInfoController{}, "POST:PageListOrderPurpose"),
|
|
|
// beego.NSRouter("/purpose/update", &controllers.OrderInfoController{}, "POST:UpdateOrderPurpose"),
|
|
|
// beego.NSRouter("/purpose/detail", &controllers.OrderInfoController{}, "POST:GetOrderPurpose"),
|
|
|
// beego.NSRouter("/purpose/del", &controllers.OrderInfoController{}, "POST:RemoveOrderPurpose"),
|
|
|
// ),
|
|
|
// )
|
|
|
|
|
|
beego.AddNamespace(adminRouter)
|
|
|
// beego.AddNamespace(adminRouterV2)
|
|
|
} |
...
|
...
|
|