feat:完善项目信息
This commit is contained in:
@ -169,8 +169,6 @@ func registerAdminAPI(app *gin.Engine) {
|
||||
user.POST("/delete", _api.Delete)
|
||||
user.POST("/password", _api.Password)
|
||||
user.POST("/password/edit", _api.PasswordEdit)
|
||||
user.POST("/role", _api.Role)
|
||||
user.POST("/role/bind", _api.RoleBind)
|
||||
}
|
||||
// Tenant 租户管理
|
||||
tenant := v1.Group("/tenant")
|
||||
@ -205,13 +203,13 @@ func registerAdminAPI(app *gin.Engine) {
|
||||
auth := v1.Group("/auth")
|
||||
{
|
||||
_api := new(api1.Auth)
|
||||
auth.POST("/list", _api.List)
|
||||
auth.GET("", _api.Index)
|
||||
}
|
||||
// Department 部门管理
|
||||
department := v1.Group("/department")
|
||||
{
|
||||
_api := new(api1.Department)
|
||||
department.GET("/", _api.Index)
|
||||
department.GET("", _api.Index)
|
||||
department.GET("/select", _api.Select)
|
||||
department.POST("/add", _api.Add)
|
||||
department.POST("/edit", _api.Edit)
|
||||
@ -221,7 +219,7 @@ func registerAdminAPI(app *gin.Engine) {
|
||||
role := v1.Group("/role")
|
||||
{
|
||||
_api := new(api1.Role)
|
||||
role.POST("/", _api.Index)
|
||||
role.POST("", _api.Index)
|
||||
role.POST("/select", _api.Select)
|
||||
role.POST("/add", _api.Add)
|
||||
role.POST("/edit", _api.Edit)
|
||||
|
Reference in New Issue
Block a user