Commit f8353174d6ca5567dc5db58c116855eaa12a61a2

Authored by alexYang
1 parent 5b5f573462
Exists in master and in 1 other branch dev

1、第三方支付中含有pay的字段修改 2、默认是v3版本的第三方支付

Showing 5 changed files with 3 additions and 5 deletions Side-by-side Diff

ios/GameSDK.framework/Versions/A/GameSDK
No preview for this file type
ios/GameSDK.framework/Versions/A/Headers/LetsGameAPI.h
... ... @@ -22,7 +22,7 @@ static BOOL hiddenLogo = NO;
22 22 //默认横屏
23 23 static BOOL DeviceOrientationIsHorizontal = YES;
24 24  
25   -static NSString *version = @"3.5.4";
  25 +static NSString *version = @"3.5.5";
26 26  
27 27 @interface LetsGameAPI : NSObject<UIApplicationDelegate>
28 28  
... ... @@ -71,9 +71,7 @@ static NSString *version = @&quot;3.5.4&quot;;
71 71 - (BOOL)handleOpenURL:(NSURL *)url
72 72 sourceApplication:(NSString *)sourceApplication;
73 73  
74   --(void)pay:(NSDictionary*) payInfo handleCallBack:(void (^)()) payAccomplistCallback;
75   -
76   -//-(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid handleCallback:(void (^)(NSString* orderId)) callback;
  74 +-(void)pWeb:(NSDictionary*) pWebInfo handleCallBack:(void (^)()) pWebAccomplistCallback;
77 75  
78 76 -(void)iap:(NSDictionary*) payInfo forUser:(NSString*) uid succCallback:(void (^)(NSString* orderId)) succCallback failCallback:(void (^)(NSString* orderId)) failCallback;
79 77  
No preview for this file type
ios/GameSDKDemo/GameSDKDemo.xcodeproj/project.xcworkspace/xcuserdata/yanglele.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
ios/GameSDKDemo/letsgameDemo/LSGMainViewController.m
... ... @@ -125,7 +125,7 @@
125 125 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];
126 126 [payInfo setValue:@"test" forKey:@"product"];
127 127 [payInfo setValue:@"76c17cc68ff9f7f40bd3d096ccc5600a" forKey:@"sessionKey"]; //self.sessionKey
128   - [[LetsGameAPI instance] pay:payInfo handleCallBack:^{
  128 + [[LetsGameAPI instance] pWeb:payInfo handleCallBack:^{
129 129 NSLog(@"第三方支付完成");
130 130 }];
131 131 }