Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Event = event{ BeforeCreate: enum.New(2, "创建前"), AfterCreate: enum.New(4, "创建后"), ResetPassword: enum.New(8, "重置密码"), }
View Source
var State = state{ Unactivated: enum.New(0, "未激活"), Normal: enum.New(1, "正常"), Suspended: enum.New(-1, "封号"), Abnormality: enum.New(-2, "异常"), Canceled: enum.New(-3, "已注销"), }
View Source
var Type = userType{ Anonymous: enum.New(0, "匿名"), User: enum.New(1, "用户"), WeBusiness: enum.New(2, "微商"), Merchant: enum.New(4, "商户"), Advertiser: enum.New(8, "广告主"), Facilitator: enum.New(16, "服务商"), Operator: enum.New(32, "运营商"), SuperAdmin: enum.New(-1, "超级管理员"), }
View Source
var User = user{ Event: Event, Type: Type, State: State, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.