service/api/consts/role.go

16 lines
261 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 //主播
)