🎨 update project structure

This commit is contained in:
landaiqing
2024-09-29 15:46:35 +08:00
parent 2769467ce2
commit 87f1ff6961
85 changed files with 693 additions and 431 deletions

View File

@@ -0,0 +1,11 @@
package role_controller
type RoleRequest struct {
RoleName string `json:"role_name" binding:"required"`
RoleKey string `json:"role_key" binding:"required"`
}
type AddRoleToUserRequest struct {
Uid string `json:"uid" binding:"required"`
RoleKey string `json:"role_key" binding:"required"`
}