Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ParamsPhoneType ¶
type ParamsPhoneType struct { //组织ID OrgID int64 `db:"org_id" json:"orgID" check:"id" empty:"true"` //是否验证手机号一致性 // 如果没有启动,则token可以用不同手机号发起验证,验证时不会二次对手机号核对,请慎重关闭 // 可用于登陆时,关闭后可实现跳过验证手机号一致性,直接完成登陆操作 Allow bool `json:"allow"` //手机区号和手机号 NationCode string `json:"nationCode"` Phone string `json:"phone"` }
ParamsPhoneType 需要验证手机号匹配的参数
Click to show internal directories.
Click to hide internal directories.