feat: profile api

This commit is contained in:
naiba
2024-11-03 23:28:10 +08:00
parent 94e7e47375
commit 6322c22b49
3 changed files with 19 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ func routers(r *gin.Engine) {
auth.GET("/file", commonHandler(createFM))
auth.GET("/ws/file/:id", commonHandler(fmStream))
auth.GET("/profile", commonHandler(getProfile))
auth.GET("/user", commonHandler(listUser))
auth.POST("/user", commonHandler(createUser))
auth.POST("/batch-delete/user", commonHandler(batchDeleteUser))