pull/232/head
wangchuxiao 3 years ago
parent 7aa84607c8
commit e98ef5f5f2

@ -22,6 +22,7 @@ func NewGinRouter() *gin.Engine {
adminRouterGroup.POST("/login", admin.AdminLogin) adminRouterGroup.POST("/login", admin.AdminLogin)
adminRouterGroup.POST("/upload_update_app", admin.UploadUpdateApp) adminRouterGroup.POST("/upload_update_app", admin.UploadUpdateApp)
adminRouterGroup.POST("/get_download_url", admin.GetDownloadURL) adminRouterGroup.POST("/get_download_url", admin.GetDownloadURL)
adminRouterGroup.POST("/test", admin.UploadUpdateApp)
} }
r2 := router.Group("") r2 := router.Group("")
r2.Use(middleware.JWTAuth()) r2.Use(middleware.JWTAuth())

Loading…
Cancel
Save