实现获取用户角色列表接口
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user