C# Class CRL.Person.MobileVerifyData

读写短信验证数据
显示文件 Open project: hubro-xx/CRL2 Class Usage Examples

Public Methods

Method Description
Clear ( string moduleName ) : void

清除本次数据

GetCode ( string moduleName ) : string

通过模块名称获取验证码

GetReceiveMobile ( string moduleName ) : string

通过模块名称获取手机

GetSendTimeDiff ( string moduleName ) : int

通过模块名称获取发送间隔

GetTimes ( string moduleName ) : int

获取验证码读取次数,用来作次数限制

GetTotalSendTimes ( string moduleName ) : int

获取本次验证码发送次数

SetCode ( string moduleName, string code, string receiveMobile ) : void

写入手机信息

Method Details

Clear() public static method

清除本次数据
public static Clear ( string moduleName ) : void
moduleName string
return void

GetCode() public static method

通过模块名称获取验证码
public static GetCode ( string moduleName ) : string
moduleName string
return string

GetReceiveMobile() public static method

通过模块名称获取手机
public static GetReceiveMobile ( string moduleName ) : string
moduleName string
return string

GetSendTimeDiff() public static method

通过模块名称获取发送间隔
public static GetSendTimeDiff ( string moduleName ) : int
moduleName string
return int

GetTimes() public static method

获取验证码读取次数,用来作次数限制
public static GetTimes ( string moduleName ) : int
moduleName string
return int

GetTotalSendTimes() public static method

获取本次验证码发送次数
public static GetTotalSendTimes ( string moduleName ) : int
moduleName string
return int

SetCode() public static method

写入手机信息
public static SetCode ( string moduleName, string code, string receiveMobile ) : void
moduleName string
code string
receiveMobile string
return void