Skip to content

Commit bd5ac76

Browse files
author
chenyq
committed
[update]:fix name
1 parent d294d0c commit bd5ac76

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

GeYanSdk.framework/GeYanSdk

-1.37 KB
Binary file not shown.

GeYanSdk.framework/Headers/GeYanSdk.h

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ typedef void (^GyCallback)(BOOL isSuccess, NSError *error);
2424
typedef void (^GyVerifyCallback)(BOOL isCloudVerifySuccess, BOOL isSmsSendSuccess, NSError *error);
2525

2626
/**
27-
* 验证类型
27+
* 验证方式
2828
*/
2929

3030
typedef NS_ENUM(NSUInteger, GyVerifyType) {
@@ -51,11 +51,26 @@ typedef NS_ENUM(NSUInteger, GyVerifyType) {
5151
*/
5252

5353
+ (void)startWithAppId:(NSString *)aAppId withCallback:(GyCallback)callback;
54-
54+
/**
55+
* 云验证接口
56+
*
57+
* @param type 验证方式
58+
* @param pnMD5 手机号md5值,32位小写
59+
* @param smsTemplateId 自定义短信模板 id,申请 AppId 时配置
60+
* @param callback 验证接口回调
61+
*/
5562
+ (void)verifyForType:(GyVerifyType)type withPnMD5:(NSString *)pnMD5 withSmsTemplateId:(NSString *)smsTemplateId withCallback:(GyVerifyCallback)callback;
56-
63+
/**
64+
* 短信校验接口
65+
*
66+
* @param code 短信验证码
67+
* @param pnMD5 手机号md5值,32位小写
68+
* @param callback 通用接口回调
69+
*/
5770
+ (void)smsVerifyCode:(NSString *)code withPnMD5:(NSString *)pnMD5 withCallback:(GyCallback)callback;
58-
59-
+ (void)destory;
71+
/**
72+
* 销毁 SDK
73+
*/
74+
+ (void)destroy;
6075

6176
@end

GeYanSdk.framework/Info.plist

2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)