更换web界面

This commit is contained in:
Martial BE
2023-12-20 19:27:27 +08:00
parent 365744a040
commit ffa4e491ea
205 changed files with 12815 additions and 6830 deletions

View File

@@ -35,6 +35,7 @@ func SetApiRouter(router *gin.Engine) {
selfRoute := userRoute.Group("/")
selfRoute.Use(middleware.UserAuth())
{
selfRoute.GET("/dashboard", controller.GetUserDashboard)
selfRoute.GET("/self", controller.GetSelf)
selfRoute.PUT("/self", controller.UpdateSelf)
selfRoute.DELETE("/self", controller.DeleteSelf)