xuguohong

YouaiSdk update

...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
25 + (YouaiSDKMgr *)getInstance; 25 + (YouaiSDKMgr *)getInstance;
26 - (void)initSDK; 26 - (void)initSDK;
27 - (void)initSDK:(NSString *)weixinId; 27 - (void)initSDK:(NSString *)weixinId;
28 +- (void)setServerUrl:(NSString *)serverUrl;
28 29
29 - (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller; 30 - (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller;
30 - (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *) inviterCode; 31 - (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *) inviterCode;
...@@ -36,12 +37,8 @@ ...@@ -36,12 +37,8 @@
36 - (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSString *)callBack : (UIViewController *)controller; 37 - (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSString *)callBack : (UIViewController *)controller;
37 - (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSNumber *)payAmount : (NSString *)callBack : (UIViewController *)controller; 38 - (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSNumber *)payAmount : (NSString *)callBack : (UIViewController *)controller;
38 - (void)openShare: (UIViewController *)controller; 39 - (void)openShare: (UIViewController *)controller;
39 -- (void)log: (NSString*)log_key : (NSInteger)log_data: (NSString*)log_remark;
40 40
41 -- (void)openApplePay:(UIViewController*)controll products:(NSString*)products amount:(NSString*)amount queryId:(NSString*) queryId; 41 +- (void)openApplePay:(UIViewController*)controll products:(NSString*)products amount:(NSString*)amount productName:(NSString*)productName queryId:(NSString*) queryId;
42 -
43 -
44 -- (void)checkAilpay: (NSURL *)url : (UIViewController *)controller;
45 42
46 - (void)applePayCallBack:(NSString *)url :(SKPaymentTransaction *)transaction :(NSString *)resultStr; 43 - (void)applePayCallBack:(NSString *)url :(SKPaymentTransaction *)transaction :(NSString *)resultStr;
47 44
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
25 + (YouaiSDKMgr *)getInstance; 25 + (YouaiSDKMgr *)getInstance;
26 - (void)initSDK; 26 - (void)initSDK;
27 - (void)initSDK:(NSString *)weixinId; 27 - (void)initSDK:(NSString *)weixinId;
28 +- (void)setServerUrl:(NSString *)serverUrl;
28 29
29 - (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller; 30 - (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller;
30 - (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *) inviterCode; 31 - (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *) inviterCode;
...@@ -36,12 +37,8 @@ ...@@ -36,12 +37,8 @@
36 - (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSString *)callBack : (UIViewController *)controller; 37 - (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSString *)callBack : (UIViewController *)controller;
37 - (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSNumber *)payAmount : (NSString *)callBack : (UIViewController *)controller; 38 - (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSNumber *)payAmount : (NSString *)callBack : (UIViewController *)controller;
38 - (void)openShare: (UIViewController *)controller; 39 - (void)openShare: (UIViewController *)controller;
39 -- (void)log: (NSString*)log_key : (NSInteger)log_data: (NSString*)log_remark;
40 40
41 -- (void)openApplePay:(UIViewController*)controll products:(NSString*)products amount:(NSString*)amount queryId:(NSString*) queryId; 41 +- (void)openApplePay:(UIViewController*)controll products:(NSString*)products amount:(NSString*)amount productName:(NSString*)productName queryId:(NSString*) queryId;
42 -
43 -
44 -- (void)checkAilpay: (NSURL *)url : (UIViewController *)controller;
45 42
46 - (void)applePayCallBack:(NSString *)url :(SKPaymentTransaction *)transaction :(NSString *)resultStr; 43 - (void)applePayCallBack:(NSString *)url :(SKPaymentTransaction *)transaction :(NSString *)resultStr;
47 44
......