-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
orderRouter := offline.Group("order")
{
orderRouter.GET("", order.QueryOrders)
orderRouter.POST("", order.Add)
orderRouter.GET("/:id", order.GetById)
orderRouter.PATCH("/:id", order.Patch)
payRouter := orderRouter.Group("wxpay")
{
payRouter.GET("/:id", order.WxPay)
}
}
errors:
path segment 'wxpay/:id' conflicts with existing wildcard ':id' in path '/v1/offline/order/wxpay/:id'
why????
Metadata
Metadata
Assignees
Labels
No labels