wanghuidong 4 жил өмнө
parent
commit
76ad57fb62
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      router/pageRouter.go

+ 3 - 3
router/pageRouter.go

@@ -8,10 +8,10 @@ func pageRouterRegister(router *gin.Engine) {
 	pageRouterGroup := router.Group("/page")
 	//pageRouterGroup.Use(middleware.JwtAuth())
 	{
-		pageRouterGroup.GET("/main", mainPage)
+		pageRouterGroup.GET("/login", login)
 	}
 }
 
-func mainPage(context *gin.Context) {
-	context.HTML(200, "main.html", nil)
+func login(context *gin.Context) {
+	context.HTML(200, "login.html", nil)
 }