Feat: list users

This commit is contained in:
HFO4
2020-03-07 14:04:18 +08:00
parent c7247f5b87
commit 38161250e8
4 changed files with 53 additions and 2 deletions

View File

@@ -365,6 +365,12 @@ func InitMasterRouter() *gin.Engine {
group.DELETE(":id", controllers.AdminDeleteGroup)
}
user := admin.Group("user")
{
// 列出用户
user.POST("list", controllers.AdminListUser)
}
}
// 用户