🎨 update / add nsq

This commit is contained in:
landaiqing
2024-09-28 23:36:26 +08:00
parent bd2e8b8f6c
commit 83b6fb6322
33 changed files with 1754 additions and 773 deletions

View File

@@ -0,0 +1,11 @@
package role_api
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"`
}