Documentation ¶
Index ¶
- Variables
- func AddIPLimit(c *gin.Context)
- func AddUserIPLimitLogin(c *gin.Context)
- func CheckLoginLimit(c *gin.Context)
- func GenerateInvitationCode(c *gin.Context)
- func GetDepartmentGroupIDList(operationID, departmentID string) ([]string, error)
- func GetInvitationCodes(c *gin.Context)
- func ImportFriendRoutine()
- func Login(c *gin.Context)
- func OnboardingProcessRoutine()
- func QueryIPRegister(c *gin.Context)
- func QueryInvitationCode(c *gin.Context)
- func QueryUserIDLimitLogin(c *gin.Context)
- func RemoveIPLimit(c *gin.Context)
- func RemoveUserIPLimitLogin(c *gin.Context)
- func ResetPassword(c *gin.Context)
- func SendVerificationCode(c *gin.Context)
- func SetPassword(c *gin.Context)
- func Verify(c *gin.Context)
- type AddIPLimitReq
- type AddIPLimitResp
- type AddUserIPLimitLoginReq
- type AddUserIPLimitLoginResp
- type AliSMS
- type CheckLoginLimitReq
- type CheckLoginLimitResp
- type GenerateInvitationCodeReq
- type GenerateInvitationCodeResp
- type GetInvitationCodesReq
- type GetInvitationCodesResp
- type InvitationCode
- type OnboardingProcessReq
- type ParamsLogin
- type ParamsSetPassword
- type QueryIPRegisterReq
- type QueryIPRegisterResp
- type QueryInvitationCodeReq
- type QueryInvitationCodeResp
- type QueryUserIDIPLimitLoginReq
- type RemoveIPLimitReq
- type RemoveIPLimitResp
- type RemoveUserIPLimitReq
- type RemoveUserIPLimitResp
- type SMS
- type TencentSMS
Constants ¶
This section is empty.
Variables ¶
View Source
var Ch chan OnboardingProcessReq
View Source
var ChImportFriend chan *pbFriend.ImportFriendReq
Functions ¶
func AddIPLimit ¶
func CheckLoginLimit ¶
func GenerateInvitationCode ¶
func GetInvitationCodes ¶
func ImportFriendRoutine ¶
func ImportFriendRoutine()
func OnboardingProcessRoutine ¶
func OnboardingProcessRoutine()
func QueryIPRegister ¶
func QueryInvitationCode ¶
func QueryUserIDLimitLogin ¶
func RemoveIPLimit ¶
func RemoveUserIPLimitLogin ¶
删除ip 特定用户才能登录 user_ip_limits 表
func ResetPassword ¶
func SendVerificationCode ¶
func SetPassword ¶
Types ¶
type AddIPLimitReq ¶
type AddIPLimitResp ¶
type AddIPLimitResp struct { }
type AddUserIPLimitLoginReq ¶
type AddUserIPLimitLoginResp ¶
type AddUserIPLimitLoginResp struct { }
type CheckLoginLimitReq ¶
type CheckLoginLimitResp ¶
type CheckLoginLimitResp struct { }
type GenerateInvitationCodeResp ¶
type GenerateInvitationCodeResp struct {
Codes []string `json:"codes"`
}
type GetInvitationCodesReq ¶
type GetInvitationCodesReq struct { Status int32 `json:"status"` OperationID string `json:"operationID" binding:"required"` apiStruct.Pagination }
type GetInvitationCodesResp ¶
type GetInvitationCodesResp struct { apiStruct.Pagination Codes []InvitationCode `json:"codes"` CodeNums int64 `json:"codeNums"` }
type InvitationCode ¶
type OnboardingProcessReq ¶
type ParamsLogin ¶
type ParamsSetPassword ¶
type ParamsSetPassword struct { UserID string `json:"userID"` Email string `json:"email"` Nickname string `json:"nickname"` PhoneNumber string `json:"phoneNumber"` Password string `json:"password" binding:"required"` VerificationCode string `json:"verificationCode"` Platform int32 `json:"platform" binding:"required,min=1,max=12"` Ex string `json:"ex"` FaceURL string `json:"faceURL"` OperationID string `json:"operationID" binding:"required"` AreaCode string `json:"areaCode"` InvitationCode string `json:"invitationCode"` Gender int32 `json:"gender"` Birth int32 `json:"birth"` }
type QueryIPRegisterReq ¶
type QueryIPRegisterResp ¶
type QueryInvitationCodeReq ¶
type QueryInvitationCodeResp ¶
type QueryInvitationCodeResp struct {
InvitationCode
}
type RemoveIPLimitReq ¶
type RemoveIPLimitResp ¶
type RemoveIPLimitResp struct { }
type RemoveUserIPLimitReq ¶
type RemoveUserIPLimitResp ¶
type RemoveUserIPLimitResp struct { }
type TencentSMS ¶
type TencentSMS struct {
// contains filtered or unexported fields
}
func NewTencentSMS ¶
func NewTencentSMS() (*TencentSMS, error)
Click to show internal directories.
Click to hide internal directories.