Commit d8bccdd5 authored by shajiaiming's avatar shajiaiming

remove middleware

parent f0d0363e
......@@ -3,7 +3,6 @@ package routers
import (
"bwallet/middleware/jwt"
"bwallet/middleware/log"
"bwallet/middleware/sign/aes"
"bwallet/pkg/e"
"github.com/gin-gonic/gin"
......@@ -29,7 +28,7 @@ func InitRouter() *gin.Engine {
client := r.Group("/interface")
client.Use(aes.Aes())
//client.Use(aes.Aes())
client.GET("/news", app.GetNews)
client.GET("/one-news", app.GetOneNews)
client.GET("/articles", app.GetArticle)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment