1 file changed
-3
@@ -34,9 +34,6 @@ func InitRouter() {
|
|||||||
os.Exit(-1)
|
os.Exit(-1)
|
||||||
}
|
}
|
||||||
|
|
||||||
r.Use(common.Sentinel()).
|
|
||||||
Use(common.RequestId(pkg.TrafficKey))
|
|
||||||
common.InitMiddleware(r)
|
|
||||||
// the jwt middleware
|
// the jwt middleware
|
||||||
authMiddleware, err := common.AuthInit()
|
authMiddleware, err := common.AuthInit()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in new issue
Block a user