C# 클래스 CRL.Person.MobileVerifyData

读写短信验证数据
파일 보기 프로젝트 열기: hubro-xx/CRL2 1 사용 예제들

공개 메소드들

메소드 설명
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

写入手机信息

메소드 상세

Clear() 공개 정적인 메소드

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

GetCode() 공개 정적인 메소드

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

GetReceiveMobile() 공개 정적인 메소드

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

GetSendTimeDiff() 공개 정적인 메소드

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

GetTimes() 공개 정적인 메소드

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

GetTotalSendTimes() 공개 정적인 메소드

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

SetCode() 공개 정적인 메소드

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