Documentation ¶
Index ¶
Constants ¶
View Source
const ( TaskNameUserRegisterNotice = "task_user_register_notice" TaskNameUserRegisterNoticeErr = "task_user_register_notice_err" TaskNameUserStateNotice = "task_user_state_notice" TaskNameUserStateNoticeErr = "task_user_state_notice_err" )
View Source
const ( Unknown = 0 VerifyCodeRegister = 1 VerifyCodeLogin = 2 VerifyCodePassword = 3 VerifyCodeTemplate = "" /* 138-byte string literal not displayed */ )
View Source
const ( UserStateEventTypeRegister = 10010 UserStateEventTypeLogin = 10011 UserStateEventTypeLogout = 10012 UserStateEventTypePwdModify = 10013 )
View Source
const (
CacheKeyUserSate = "user_state_"
)
View Source
const (
RpcServiceMicroMallPay = "micro-mall-pay"
)
Variables ¶
View Source
var MsgFlags = map[int]string{ Unknown: "未知", VerifyCodeRegister: "注册", VerifyCodeLogin: "登录", VerifyCodePassword: "修改/重置密码", UserStateEventTypeRegister: "注册", UserStateEventTypePwdModify: "修改密码", UserStateEventTypeLogin: "登录上线", UserStateEventTypeLogout: "退出登录", }
Functions ¶
Types ¶
type CommonBusinessMsg ¶
type MerchantsMaterialInfo ¶
type RegisterResult ¶
type RegisterResult struct {
InviteCode string `json:"invite_code"`
}
type UserOnlineState ¶
type UserRegisterNotice ¶
type UserStateNotice ¶
Click to show internal directories.
Click to hide internal directories.