20 lines
370 B
Go
20 lines
370 B
Go
package consts
|
|
|
|
var RoleNameMap = map[int64]string{
|
|
User: "用户",
|
|
Admin: "系统管理员",
|
|
Supportor: "运营",
|
|
Streamer: "主播",
|
|
}
|
|
|
|
const (
|
|
User = 0 //用户
|
|
Admin = 1 //管理员
|
|
Supportor = 2 //运营
|
|
Streamer = 3 //主播
|
|
)
|
|
|
|
var AccountPunishmentRoleMap = map[int64][]int64{
|
|
AccountPunishment_BlockFromCreatingMoment: {Streamer},
|
|
}
|