BmobMessage Class Reference

Inherits from NSObject
Declared in BmobMessage.h

Overview

短信验证码相关接口

+ requestSMSCodeInBackgroundWithPhoneNumber:andTemplate:resultBlock:

请求验证码,已遗弃,请使用[BmobSMS requestSMSCodeInBackgroundWithPhoneNumber:number andTemplate:templateStr resultBlock:block]

+ (void)requestSMSCodeInBackgroundWithPhoneNumber:(NSString *)number andTemplate:(NSString *)templateStr resultBlock:(BmobIntegerResultBlock)block

Parameters

number

手机号

templateStr

模板名

block

请求回调

Declared In

BmobMessage.h

+ verifySMSCodeInBackgroundWithPhoneNumber:andSMSCode:resultBlock:

验证验证码,已遗弃,请使用[BmobSMS verifySMSCodeInBackgroundWithPhoneNumber:number andSMSCode:code resultBlock:block]

+ (void)verifySMSCodeInBackgroundWithPhoneNumber:(NSString *)number andSMSCode:(NSString *)code resultBlock:(BmobBooleanResultBlock)block

Parameters

number

手机号

code

验证码

block

回调

Declared In

BmobMessage.h

+ querySMSCodeStateInBackgroundWithSMSId:resultBlock:

查询短信状态,已遗弃,请使用[BmobSMS querySMSCodeStateInBackgroundWithSMSId:smsId resultBlock:block]

+ (void)querySMSCodeStateInBackgroundWithSMSId:(unsigned)smsId resultBlock:(BmobQuerySMSCodeStateResultBlock)block

Parameters

smsId

验证码

block

回调

Declared In

BmobMessage.h