service/api/consts/role.go

28 lines
565 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},
}
const (
Zone_Visitor = 0 //普通访客
Zone_ThridPartner = 1 //代运营
Zone_Collaborator = 2 //协作者
Zone_Creater = 3 //创建人
Zone_Outsider = 4 //未关注访客
)