This commit is contained in:
duyu 2024-09-21 10:32:57 +08:00
parent 3b10ec6222
commit 3f1fc74c90
1 changed files with 3 additions and 3 deletions

View File

@ -115,14 +115,14 @@ func RegisterRoute(router *gin.Engine) {
zhilian := router.Group("/zhilian") zhilian := router.Group("/zhilian")
// zhilian.Use(middlewares.VerifySign()) // zhilian.Use(middlewares.VerifySign())
zhilian.Use(middlewares.RequestLog()) // zhilian.Use(middlewares.RequestLog())
{ {
zhilian.POST("/recharge/order", zlCon.CreateOrder) zhilian.POST("/recharge/order", zlCon.CreateOrder)
zhilian.POST("/recharge/query", zlCon.GetByOutTradeNo) zhilian.POST("/recharge/query", zlCon.GetByOutTradeNo)
} }
transfersys := router.Group("/transfersys") transfersys := router.Group("/transfersys")
transfersys.Use(middlewares.RequestLog()) // transfersys.Use(middlewares.RequestLog())
{ {
transfersys.GET("/recharge/get_order", transCon.GetOrder) transfersys.GET("/recharge/get_order", transCon.GetOrder)
transfersys.POST("/recharge/get_queue_order", transCon.GetOrderFromQueue) transfersys.POST("/recharge/get_queue_order", transCon.GetOrderFromQueue)
@ -132,7 +132,7 @@ func RegisterRoute(router *gin.Engine) {
temp := router.Group("temp") temp := router.Group("temp")
// temp.Use(middlewares.VerifyHtmlIp()) // temp.Use(middlewares.VerifyHtmlIp())
temp.Use(middlewares.RequestLog()) // temp.Use(middlewares.RequestLog())
{ {
temp.POST("/recharge/order", zlCon.CreateOrder) temp.POST("/recharge/order", zlCon.CreateOrder)
temp.POST("/ding/send", dingCon.DingSend) temp.POST("/ding/send", dingCon.DingSend)