实现获取用户角色列表接口

This commit is contained in:
2025-06-19 19:47:34 +08:00
parent cd8ab0f7e8
commit d920cff499
10 changed files with 110 additions and 6 deletions

View File

@ -58,9 +58,21 @@ type TaskParam struct {
Source string `json:"source"`
}
type QQNetbarActivityIn struct {
ServiceName string // 服务名称
TaskParam TaskParam // 参数体
PopenId string
BindType int
type UserRoleParam struct {
Area int `json:"area,omitempty"` // 可选参数
Gid int `json:"gid"`
}
type UserRole struct {
RoleName string `json:"role_name"`
RoleIdx string `json:"roleIdx"`
}
type UserRoleListResponse struct {
RoleList []UserRole `json:"role_list"`
}
type QQNetbarActivityIn struct {
ServiceName string // 服务名称
TaskParam TaskParam // 参数体
UserRoleParam UserRoleParam
PopenId string
BindType int
}