Compare commits
No commits in common. "875c670d5c3a5bffe2f0851ce173b07d200509f0" and "7d5627077310554a8259ce699cd0fef1452f326e" have entirely different histories.
875c670d5c
...
7d56270773
@ -18,7 +18,7 @@ func NewRouter() *gin.Engine {
|
|||||||
r.Use(gzip.Gzip(gzip.DefaultCompression))
|
r.Use(gzip.Gzip(gzip.DefaultCompression))
|
||||||
//加入日志中间件,跨域中间件
|
//加入日志中间件,跨域中间件
|
||||||
r.Use(middleware.NewLogger(), middleware.Cors(), middleware.GinRecovery(true))
|
r.Use(middleware.NewLogger(), middleware.Cors(), middleware.GinRecovery(true))
|
||||||
auth := r.Group("/api")
|
auth := r.Group("")
|
||||||
//auth.Use(middleware.JWTAuthMiddleware())
|
//auth.Use(middleware.JWTAuthMiddleware())
|
||||||
// 上传
|
// 上传
|
||||||
upload := auth.Group("upload")
|
upload := auth.Group("upload")
|
||||||
|
Loading…
Reference in New Issue
Block a user