lizhihui

更新0926 添加server name cps

Showing 43 changed files with 200 additions and 200 deletions
No preview for this file type
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface ClancyAllManager : NSObject
{
NSString* ClancyCKAPPID_;
NSString* ClancyCKAPPKEY_;
NSString* ClancyInviterCode_;
}
@property bool ClancyGeiWoHuaQianBa;
+ (ClancyAllManager *)ClancyInstance;
- (void)ClancyChuShiHua;
- (void)ClancyDengLu:(NSString *)ClancyCKAPPID : (NSString *)ClancyCKAPPKEY : (UIViewController *)controller;
- (void)ClancyYangShi:(NSString*)ClancyLeiXing;
- (void)ClancyCKQuery: (NSString *)ClancyFuWuQiID : (NSString *)ClancyNickName : (NSNumber *)ClancyAmount : (NSString *)ClancyCallBack : (UIViewController *)controller : (NSString *)ClancyServerName;
- (void)ClancyCKQueryOperation:(UIViewController*)controll ClancyHuoWuID:(NSString*)products ClancyJiaGe:(NSString*)amount ClancyHuoWuMing:(NSString*)productName ClancyDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const ClancyCKAssetsExitNotification;
extern NSString * const ClancyCKAssetsLoginNotification;
extern NSString * const ClancyCKAssetsErrorNotification;
@interface ClancyHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface ClancyIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* ClancyDingDanHao;
@property(nonatomic,strong) NSDictionary* ClancyHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* ClancyHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *ClancyHuoWuLieBiaoView;
- (void)ClancyHuaQianView:(UIViewController*)controller ClancyHuoWuD:(NSString*)products ClancyQian:(NSString*)amount ClancyHuoWuMing:(NSString*)productName ClancyDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface ClancyMsgJM : NSObject
+(NSString *)ClancyJM:(NSString *)jm;
+(void)ClancyEmptyqweS12Jijis;
+(void)ClancyEmptyjqw3123eakdjl;
+(void)ClancyEmptynqw123evcxnklr;
-(void)ClancyEmptyasqw123edll;
-(void)ClancyEmptyasqw12312edlasdl;
-(void)ClancyEmptyasdq3123wellasd;
+(void)ClancyEmptyain;
-(void)ClancyEmptybua3in;
+(void)ClancyEmptya3in;
-(void)ClancyEmptybu2ain;
+(void)ClancyEmptyai2n;
-(void)ClancyEmptybu1ain;
@end
......@@ -8,7 +8,7 @@
/* Begin PBXBuildFile section */
260A34CB2130061A003C083C /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 260A34CA21300619003C083C /* PoolSdk.framework */; };
2638DD79215A3FE1006540CB /* ClancySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2638DD78215A3FE1006540CB /* ClancySDK.framework */; };
2638DD7B215B23F5006540CB /* TurningSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2638DD7A215B23F5006540CB /* TurningSDK.framework */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; };
846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; };
......@@ -61,7 +61,7 @@
/* Begin PBXFileReference section */
260A34CA21300619003C083C /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; };
2638DD78215A3FE1006540CB /* ClancySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = ClancySDK.framework; sourceTree = "<group>"; };
2638DD7A215B23F5006540CB /* TurningSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = TurningSDK.framework; sourceTree = "<group>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
846BD21F1EE9342700E89A1D /* pool_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pool_setting; path = poolsdk_file/poolsdk/pool_setting; sourceTree = "<group>"; };
......@@ -107,7 +107,6 @@
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
2638DD79215A3FE1006540CB /* ClancySDK.framework in Frameworks */,
8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */,
8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */,
8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */,
......@@ -118,6 +117,7 @@
8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */,
8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */,
260A34CB2130061A003C083C /* PoolSdk.framework in Frameworks */,
2638DD7B215B23F5006540CB /* TurningSDK.framework in Frameworks */,
8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */,
84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */,
);
......@@ -144,7 +144,7 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
2638DD78215A3FE1006540CB /* ClancySDK.framework */,
2638DD7A215B23F5006540CB /* TurningSDK.framework */,
84A090AC1F174E21003D23FB /* TrackingIO.h */,
84A090AA1F160A69003D23FB /* TrackingIO.a */,
846BD21F1EE9342700E89A1D /* pool_setting */,
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface TurningAllManager : NSObject
{
NSString* TurningCKAPPID_;
NSString* TurningCKAPPKEY_;
NSString* TurningInviterCode_;
}
@property bool TurningGeiWoHuaQianBa;
+ (TurningAllManager *)TurningInstance;
- (void)TurningChuShiHua;
- (void)TurningDengLu:(NSString *)TurningCKAPPID : (NSString *)TurningCKAPPKEY : (UIViewController *)controller;
- (void)TurningYangShi:(NSString*)TurningLeiXing;
- (void)TurningCKQuery: (NSString *)TurningFuWuQiID : (NSString *)TurningNickName : (NSNumber *)TurningAmount : (NSString *)TurningCallBack : (UIViewController *)controller : (NSString *)TurningServerName;
- (void)TurningCKQueryOperation:(UIViewController*)controll TurningHuoWuID:(NSString*)products TurningJiaGe:(NSString*)amount TurningHuoWuMing:(NSString*)productName TurningDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface ClancyDiZhi : NSObject
@interface TurningDiZhi : NSObject
+ (NSString *)ClancySKCloudServiceSetupOptionsKey;
+ (NSString *)TurningSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
extern NSString * const TurningCKAssetsExitNotification;
extern NSString * const TurningCKAssetsLoginNotification;
extern NSString * const TurningCKAssetsErrorNotification;
@interface TurningHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface TurningIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* TurningDingDanHao;
@property(nonatomic,strong) NSDictionary* TurningHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* TurningHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *TurningHuoWuLieBiaoView;
- (void)TurningHuaQianView:(UIViewController*)controller TurningHuoWuD:(NSString*)products TurningQian:(NSString*)amount TurningHuoWuMing:(NSString*)productName TurningDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "ClancyXinXi.h"
#import "TurningXinXi.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface ClancyMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface TurningMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL ClancyYouYuanJiao;
@property(assign) BOOL TurningYouYuanJiao;
- (void)ClancySettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)ClancyChuShiHuaWebView;
- (void)TurningSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)TurningChuShiHuaWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
@interface TurningMsgJM : NSObject
+(NSString *)TurningJM:(NSString *)jm;
+(void)TurningEmptyqweS12Jijis;
+(void)TurningEmptyjqw3123eakdjl;
+(void)TurningEmptynqw123evcxnklr;
-(void)TurningEmptyasqw123edll;
-(void)TurningEmptyasqw12312edlasdl;
-(void)TurningEmptyasdq3123wellasd;
+(void)TurningEmptyain;
-(void)TurningEmptybua3in;
+(void)TurningEmptya3in;
-(void)TurningEmptybu2ain;
+(void)TurningEmptyai2n;
-(void)TurningEmptybu1ain;
@end
#import <Foundation/Foundation.h>
@interface ClancyXinXi : NSObject
@interface TurningXinXi : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (ClancyXinXi *)getInstance;
+ (TurningXinXi *)getInstance;
@end
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "ClancySDK/ClancyAllManager.h"
#import "ClancySDK/ClancyHuiTiaoNotification.h"
#import "ClancySDK/ClancyXinXi.h"
#import "TurningSDK/TurningAllManager.h"
#import "TurningSDK/TurningHuiTiaoNotification.h"
#import "TurningSDK/TurningXinXi.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *ClancySDKAppId;
NSString *ClancySDKAppKey;
NSString *TurningSDKAppId;
NSString *TurningSDKAppKey;
- (void)SDKinit:(UIViewController *) control
{
......@@ -19,10 +19,10 @@ NSString *ClancySDKAppKey;
[super SDKinit:control];
[PoolConfig getInstance];
[[ClancyAllManager ClancyInstance]ClancyChuShiHua];
[[ClancyAllManager ClancyInstance]ClancyYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ClancyCKAssetsLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"ClancyCKAssetsToolCallBack" object:nil];
[[TurningAllManager TurningInstance]TurningChuShiHua];
[[TurningAllManager TurningInstance]TurningYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:TurningCKAssetsLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"TurningCKAssetsToolCallBack" object:nil];
[[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -39,9 +39,9 @@ NSString *ClancySDKAppKey;
- (void)SDKloginSDK
{
//APPID APPKEY
ClancySDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
ClancySDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[ClancyAllManager ClancyInstance]ClancyDengLu:ClancySDKAppId :ClancySDKAppKey :self.controller];
TurningSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
TurningSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[TurningAllManager TurningInstance]TurningDengLu:TurningSDKAppId :TurningSDKAppKey :self.controller];
}
......@@ -52,9 +52,9 @@ NSString *ClancySDKAppKey;
{
NSLog(@"loginchek");
PoolLoginInfo *loginInfo = [PoolLoginInfo alloc];
loginInfo.openId = [[ClancyXinXi getInstance]openId];
loginInfo.sign = [[ClancyXinXi getInstance] token];
loginInfo.timestamp = [[ClancyXinXi getInstance] timestamp];
loginInfo.openId = [[TurningXinXi getInstance]openId];
loginInfo.sign = [[TurningXinXi getInstance] token];
loginInfo.timestamp = [[TurningXinXi getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[PoolChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *ClancySDKAppKey;
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"ClancyCKAssetsToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"TurningCKAssetsToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
......@@ -216,10 +216,10 @@ NSString *ClancySDKAppKey;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[ClancyAllManager ClancyInstance] ClancyCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[TurningAllManager TurningInstance] TurningCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
[[ClancyAllManager ClancyInstance] ClancyCKQueryOperation:self.controller ClancyHuoWuID:products ClancyJiaGe:[payInfo postAmount] ClancyHuoWuMing:[payInfo productName] ClancyDingDanHao:queryId];
[[TurningAllManager TurningInstance] TurningCKQueryOperation:self.controller TurningHuoWuID:products TurningJiaGe:[payInfo postAmount] TurningHuoWuMing:[payInfo productName] TurningDingDanHao:queryId];
}
}
......
......@@ -2,8 +2,8 @@
2018-09-26:<br>
在上版本基础上,更新了4、5、6点后,已接入快速更新方法<br>
1、``` 删除pool_file文件夹中DivisionSDK.framework或者RainbowSDK.framework ``` <br>
2、引入 ``` ClancySDK.framework ``` <br>
1、``` 删除pool_file文件夹中HeroesSDK.framework或者RainbowSDK.framework ``` <br>
2、引入 ``` TurningSDK.framework ``` <br>
3、替换 ``` SDKInterface.m文件 ``` <br>
2018-05-28: ``` (在此日期之后接入的可以忽略) ``` <br>
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface ClancyAllManager : NSObject
{
NSString* ClancyCKAPPID_;
NSString* ClancyCKAPPKEY_;
NSString* ClancyInviterCode_;
}
@property bool ClancyGeiWoHuaQianBa;
+ (ClancyAllManager *)ClancyInstance;
- (void)ClancyChuShiHua;
- (void)ClancyDengLu:(NSString *)ClancyCKAPPID : (NSString *)ClancyCKAPPKEY : (UIViewController *)controller;
- (void)ClancyYangShi:(NSString*)ClancyLeiXing;
- (void)ClancyCKQuery: (NSString *)ClancyFuWuQiID : (NSString *)ClancyNickName : (NSNumber *)ClancyAmount : (NSString *)ClancyCallBack : (UIViewController *)controller : (NSString *)ClancyServerName;
- (void)ClancyCKQueryOperation:(UIViewController*)controll ClancyHuoWuID:(NSString*)products ClancyJiaGe:(NSString*)amount ClancyHuoWuMing:(NSString*)productName ClancyDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
extern NSString * const ClancyCKAssetsExitNotification;
extern NSString * const ClancyCKAssetsLoginNotification;
extern NSString * const ClancyCKAssetsErrorNotification;
@interface ClancyHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface ClancyIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* ClancyDingDanHao;
@property(nonatomic,strong) NSDictionary* ClancyHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* ClancyHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *ClancyHuoWuLieBiaoView;
- (void)ClancyHuaQianView:(UIViewController*)controller ClancyHuoWuD:(NSString*)products ClancyQian:(NSString*)amount ClancyHuoWuMing:(NSString*)productName ClancyDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface ClancyMsgJM : NSObject
+(NSString *)ClancyJM:(NSString *)jm;
+(void)ClancyEmptyqweS12Jijis;
+(void)ClancyEmptyjqw3123eakdjl;
+(void)ClancyEmptynqw123evcxnklr;
-(void)ClancyEmptyasqw123edll;
-(void)ClancyEmptyasqw12312edlasdl;
-(void)ClancyEmptyasdq3123wellasd;
+(void)ClancyEmptyain;
-(void)ClancyEmptybua3in;
+(void)ClancyEmptya3in;
-(void)ClancyEmptybu2ain;
+(void)ClancyEmptyai2n;
-(void)ClancyEmptybu1ain;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "ClancySDK/ClancyAllManager.h"
#import "ClancySDK/ClancyHuiTiaoNotification.h"
#import "ClancySDK/ClancyXinXi.h"
#import "TurningSDK/TurningAllManager.h"
#import "TurningSDK/TurningHuiTiaoNotification.h"
#import "TurningSDK/TurningXinXi.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *ClancySDKAppId;
NSString *ClancySDKAppKey;
NSString *TurningSDKAppId;
NSString *TurningSDKAppKey;
- (void)SDKinit:(UIViewController *) control
{
......@@ -19,10 +19,10 @@ NSString *ClancySDKAppKey;
[super SDKinit:control];
[PoolConfig getInstance];
[[ClancyAllManager ClancyInstance]ClancyChuShiHua];
[[ClancyAllManager ClancyInstance]ClancyYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ClancyCKAssetsLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"ClancyCKAssetsToolCallBack" object:nil];
[[TurningAllManager TurningInstance]TurningChuShiHua];
[[TurningAllManager TurningInstance]TurningYangShi:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:TurningCKAssetsLoginNotification object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"TurningCKAssetsToolCallBack" object:nil];
[[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil];
......@@ -39,9 +39,9 @@ NSString *ClancySDKAppKey;
- (void)SDKloginSDK
{
//APPID APPKEY
ClancySDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
ClancySDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[ClancyAllManager ClancyInstance]ClancyDengLu:ClancySDKAppId :ClancySDKAppKey :self.controller];
TurningSDKAppId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"];
TurningSDKAppKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"];
[[TurningAllManager TurningInstance]TurningDengLu:TurningSDKAppId :TurningSDKAppKey :self.controller];
}
......@@ -52,9 +52,9 @@ NSString *ClancySDKAppKey;
{
NSLog(@"loginchek");
PoolLoginInfo *loginInfo = [PoolLoginInfo alloc];
loginInfo.openId = [[ClancyXinXi getInstance]openId];
loginInfo.sign = [[ClancyXinXi getInstance] token];
loginInfo.timestamp = [[ClancyXinXi getInstance] timestamp];
loginInfo.openId = [[TurningXinXi getInstance]openId];
loginInfo.sign = [[TurningXinXi getInstance] token];
loginInfo.timestamp = [[TurningXinXi getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[PoolChecker getInstance] startCheck:loginInfo];
......@@ -82,7 +82,7 @@ NSString *ClancySDKAppKey;
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"ClancyCKAssetsToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"TurningCKAssetsToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
......@@ -216,10 +216,10 @@ NSString *ClancySDKAppKey;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[ClancyAllManager ClancyInstance] ClancyCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[TurningAllManager TurningInstance] TurningCKQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
[[ClancyAllManager ClancyInstance] ClancyCKQueryOperation:self.controller ClancyHuoWuID:products ClancyJiaGe:[payInfo postAmount] ClancyHuoWuMing:[payInfo productName] ClancyDingDanHao:queryId];
[[TurningAllManager TurningInstance] TurningCKQueryOperation:self.controller TurningHuoWuID:products TurningJiaGe:[payInfo postAmount] TurningHuoWuMing:[payInfo productName] TurningDingDanHao:queryId];
}
}
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface TurningAllManager : NSObject
{
NSString* TurningCKAPPID_;
NSString* TurningCKAPPKEY_;
NSString* TurningInviterCode_;
}
@property bool TurningGeiWoHuaQianBa;
+ (TurningAllManager *)TurningInstance;
- (void)TurningChuShiHua;
- (void)TurningDengLu:(NSString *)TurningCKAPPID : (NSString *)TurningCKAPPKEY : (UIViewController *)controller;
- (void)TurningYangShi:(NSString*)TurningLeiXing;
- (void)TurningCKQuery: (NSString *)TurningFuWuQiID : (NSString *)TurningNickName : (NSNumber *)TurningAmount : (NSString *)TurningCallBack : (UIViewController *)controller : (NSString *)TurningServerName;
- (void)TurningCKQueryOperation:(UIViewController*)controll TurningHuoWuID:(NSString*)products TurningJiaGe:(NSString*)amount TurningHuoWuMing:(NSString*)productName TurningDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface ClancyDiZhi : NSObject
@interface TurningDiZhi : NSObject
+ (NSString *)ClancySKCloudServiceSetupOptionsKey;
+ (NSString *)TurningSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
extern NSString * const TurningCKAssetsExitNotification;
extern NSString * const TurningCKAssetsLoginNotification;
extern NSString * const TurningCKAssetsErrorNotification;
@interface TurningHuiTiaoNotification : NSObject
@end
#import <UIKit/UIKit.h>
@interface TurningIAPHelperControl : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* TurningDingDanHao;
@property(nonatomic,strong) NSDictionary* TurningHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* TurningHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *TurningHuoWuLieBiaoView;
- (void)TurningHuaQianView:(UIViewController*)controller TurningHuoWuD:(NSString*)products TurningQian:(NSString*)amount TurningHuoWuMing:(NSString*)productName TurningDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "ClancyXinXi.h"
#import "TurningXinXi.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface ClancyMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface TurningMain : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL ClancyYouYuanJiao;
@property(assign) BOOL TurningYouYuanJiao;
- (void)ClancySettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)ClancyChuShiHuaWebView;
- (void)TurningSettingCKAssetsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)TurningChuShiHuaWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
@interface TurningMsgJM : NSObject
+(NSString *)TurningJM:(NSString *)jm;
+(void)TurningEmptyqweS12Jijis;
+(void)TurningEmptyjqw3123eakdjl;
+(void)TurningEmptynqw123evcxnklr;
-(void)TurningEmptyasqw123edll;
-(void)TurningEmptyasqw12312edlasdl;
-(void)TurningEmptyasdq3123wellasd;
+(void)TurningEmptyain;
-(void)TurningEmptybua3in;
+(void)TurningEmptya3in;
-(void)TurningEmptybu2ain;
+(void)TurningEmptyai2n;
-(void)TurningEmptybu1ain;
@end
#import <Foundation/Foundation.h>
@interface ClancyXinXi : NSObject
@interface TurningXinXi : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (ClancyXinXi *)getInstance;
+ (TurningXinXi *)getInstance;
@end
......