mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-01 06:10:26 +08:00
feat: account manage api
This commit is contained in:
@ -30,6 +30,12 @@ func Init(r *gin.Engine) {
|
||||
user.POST("/create", controllers.CreateUser)
|
||||
user.POST("/update", controllers.UpdateUser)
|
||||
user.POST("/delete", controllers.DeleteUser)
|
||||
|
||||
account := admin.Group("/account")
|
||||
account.GET("/list", controllers.ListAccounts)
|
||||
account.POST("/create", controllers.CreateAccount)
|
||||
account.POST("/update", controllers.UpdateAccount)
|
||||
account.POST("/delete", controllers.DeleteAccount)
|
||||
}
|
||||
|
||||
func Cors(r *gin.Engine) {
|
||||
|
Reference in New Issue
Block a user