service/vendor/api/consts/role.go

16 lines
261 B
Go

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