Skip to content

Commit f0fed2c

Browse files
author
daizi
committed
update:个验升级至 1.3.0.0.
1 parent a69ebbd commit f0fed2c

File tree

8 files changed

+26
-19
lines changed

8 files changed

+26
-19
lines changed

GYSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |s|
1616
#
1717

1818
s.name = "GYSDK"
19-
s.version = "1.2.0.0"
19+
s.version = "1.3.0.0"
2020
s.summary = "个验 iOS SDK CocoaPods 集成库"
2121

2222
# This description is used to generate tags and improve search results.

GeYanSdk.framework/GeYanSdk

-1.93 MB
Binary file not shown.

GeYanSdk.framework/Headers/GeYanSdk.h

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -96,32 +96,39 @@ typedef NS_ENUM(NSUInteger, GyVerifyType) {
9696
+ (void)smsVerifyCode:(NSString *)code withPnMD5:(NSString *)pnMD5 withCallback:(GySmsVerifyCallback)callback;
9797

9898
/**
99-
* umcLogin 接口
100-
*
101-
* @param isEnableCustomSMS 是否打开SDK自带的短信验证码服务,默认打开
102-
* @param vc 调用显式登录所在的vc
103-
* @param callback 通用接口回调
99+
注册保护接口
100+
101+
@param checkModel 校验模型
102+
@param callback 通用接口回调
104103
*/
105-
+ (void)umcLoginWithEnableCustomSMS:(BOOL)isEnableCustomSMS withController:(UIViewController *)vc withCallback:(GyVerifyCallback)callback;
104+
+ (void)checkRegister:(GyCheckModel *)checkModel withCallback:(GyVerifyCallback)callback;
105+
106106
/**
107-
* umc 预取号接口
108-
*
109-
* @param complete 接口回调
107+
登录保护接口
108+
109+
@param checkModel 校验模型
110+
@param callback 通用接口回调
110111
*/
111-
+ (void)preGetPhonenumber:(void (^)(id sender))complete;
112+
+ (void)checkLogin:(GyCheckModel *)checkModel withCallback:(GyVerifyCallback)callback;
112113

113114
/**
114-
自定义UI样式参数
115-
116-
@param customUIParams UI样式参数(见顶部声明的key)
117-
@param customViews 自定义视图
115+
智能无感验证接口
116+
117+
@param pnMD5 MD5后的手机号码
118+
@param accountId accountId
119+
@param businessId 业务Id
120+
@param callback 通用接口回调
118121
*/
119-
+ (void)customUIWithParams:(NSDictionary *)customUIParams
120-
customViews:(void (^)(NSDictionary *customAreaView))customViews;
122+
+ (void)nonSenseCaptchaWithPnMD5:(NSString *)pnMD5 accountId:(NSString *)accountId businessId:(NSString *)businessId withCallback:(GyVerifyCallback)callback;
121123

122-
+ (void)checkRegister:(GyCheckModel *)checkModel withCallback:(GyVerifyCallback)callback;
124+
/**
125+
动画验证接口
123126
124-
+ (void)checkLogin:(GyCheckModel *)checkModel withCallback:(GyVerifyCallback)callback;
127+
@param businessId 业务Id
128+
@param callback 通用接口回调
129+
*/
130+
131+
+ (void)startAnimationCaptchaWithBusinessId:(NSString *)businessId withCallback:(GyVerifyCallback)callback;
125132
/**
126133
* 销毁 SDK
127134
*/
-818 Bytes
Binary file not shown.
-1.63 KB
Binary file not shown.
-1.94 KB
Binary file not shown.
-1.06 KB
Binary file not shown.
-9.77 KB
Binary file not shown.

0 commit comments

Comments
 (0)