service/api/consts/role.go

28 lines
565 B
Go
Raw Normal View History

2023-12-21 22:17:40 +08:00
package consts
var RoleNameMap = map[int64]string{
User: "用户",
Admin: "系统管理员",
Supportor: "运营",
Streamer: "主播",
}
const (
User = 0 //用户
Admin = 1 //管理员
Supportor = 2 //运营
Streamer = 3 //主播
)
2024-03-12 12:06:45 +08:00
var AccountPunishmentRoleMap = map[int64][]int64{
AccountPunishment_BlockFromCreatingMoment: {Streamer},
}
2024-04-04 20:48:42 +08:00
const (
Zone_Visitor = 0 //普通访客
Zone_ThridPartner = 1 //代运营
Zone_Collaborator = 2 //协作者
Zone_Creater = 3 //创建人
Zone_Outsider = 4 //未关注访客
)