lizhihui

更新190829版本1

Showing 60 changed files with 304 additions and 304 deletions
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface SpursHaiBaoJuheUtilsPrecise : NSObject
@interface AspireHaiBaoJuheUtilsPublish : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) DebbieHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) SurnameHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)KeywordcreateGzyazfUrlCalhoun;
+(NSString *)RogerscreateGzyazfUrlFedex;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "FirmlyDebbieInformationPlayboy.h"
#import "BouquetSurnameInformationRiders.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface SpursDebbieMainPrecise : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface AspireSurnameMainPublish : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webDebbieView_;
UIWebView *webSurnameView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL DebbieYouYuanJiao;
@property(assign) BOOL SurnameYouYuanJiao;
- (void)DebbieSettingDebbieView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DebbieInitWebView;
- (void)SurnameSettingSurnameView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)SurnameInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <UIKit/UIKit.h>
@interface BhutanSurnameIAPHelperControlClosest : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* SurnameDingDanHao;
@property(nonatomic,strong) NSDictionary* SurnameHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* SurnameHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *SurnameHuoWuLieBiaoView;
- (void)SurnameHuaQianView:(UIViewController*)controller SurnameHuoWuD:(NSString*)products SurnameQian:(NSString*)amount SurnameHuoWuMing:(NSString*)productName SurnameDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface FirmlyDebbieInformationPlayboy : NSObject
@interface BouquetSurnameInformationRiders : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (FirmlyDebbieInformationPlayboy *)getInstance;
+ (BouquetSurnameInformationRiders *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface KeywordDebbieControlCalhoun : NSObject
@interface DealersSurnameControlAuction : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface PointerDebbieControlKeynes : NSObject
@interface GasesSurnameControlKeynote : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const RopesSurnameExitNotificationJarvis;
extern NSString * const RogersSurnameLoginNotificationFedex;
extern NSString * const GraphicSurnameErrorNotificationScript;
@interface GasesSurnameHuiTiaoNotificationKeynote : NSObject
@end
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface InputDebbieHaiBaoJuheBaseModelArbor : NSObject
@interface GraphicSurnameHaiBaoJuheBaseModelScript : NSObject
- (NSString *) DebbieHaiBaoJuheObjectToJsonString;
- (NSString *) SurnameHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheCreateOrderInfo : InputDebbieHaiBaoJuheBaseModelArbor
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheCreateOrderInfo : GraphicSurnameHaiBaoJuheBaseModelScript
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
......@@ -16,7 +16,7 @@
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) DebbieHaiBaoJuheGetTsign ;
- (NSString *) DebbieHaiBaoJuheGetTimestamp ;
- (NSString *) SurnameHaiBaoJuheGetTsign ;
- (NSString *) SurnameHaiBaoJuheGetTimestamp ;
@end
......
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheLoginInfo : InputDebbieHaiBaoJuheBaseModelArbor
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheLoginInfo : GraphicSurnameHaiBaoJuheBaseModelScript
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// DebbieHaiBaoJuheReportInfo.h
// SurnameHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheReportInfo : InputDebbieHaiBaoJuheBaseModelArbor
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheReportInfo : GraphicSurnameHaiBaoJuheBaseModelScript
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* DebbieList;
@property(strong) NSMutableArray* SurnameList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "ComplexHaiBaoJuheCheckerBiotech.h"
#import "HavanaHaiBaoJuheCheckerSeason.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "KeywordHaiBaoJuheNotificationCalhoun.h"
#import "KeywordHaiBaoJuheGzyazfInfoCalhoun.h"
#import "RogersHaiBaoJuheNotificationFedex.h"
#import "RogersHaiBaoJuheGzyazfInfoFedex.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "KeywordHaiBaoJuheConfigCalhoun.h"
#import "SpursHaiBaoJuheUtilsPrecise.h"
#import "RogersHaiBaoJuheConfigFedex.h"
#import "AspireHaiBaoJuheUtilsPublish.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "KeywordHaiBaoJuheNotificationCalhoun.h"
#import "RogersHaiBaoJuheNotificationFedex.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "KeywordHaiBaoJuheGzyazfInfoCalhoun.h"
#import "RogersHaiBaoJuheGzyazfInfoFedex.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface ComplexHaiBaoJuheCheckerBiotech : NSObject<HaiBaoJuheSDKDelegate>
@interface HavanaHaiBaoJuheCheckerSeason : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (ComplexHaiBaoJuheCheckerBiotech *)TigersgetInstanceSister;
+ (HavanaHaiBaoJuheCheckerSeason *)SerumgetInstanceVague;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) DebbieHaiBaoJuhereportOpen;
- (void) DebbieHaiBaoJuhereportSDKOpen;
- (void) DebbieHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) SurnameHaiBaoJuhereportOpen;
- (void) SurnameHaiBaoJuhereportSDKOpen;
- (void) SurnameHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) DebbieHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) SurnameHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) DebbieHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) SurnameHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface ComplexDebbieLocationBiotech : NSObject
@interface HavanaSurnameLocationSeason : NSObject
+ (NSString *)DebbieSKCloudServiceSetupOptionsKey;
+ (NSString *)SurnameSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface LegacyDebbieAllManagerFunky : NSObject
{
NSString* DebbieAPPID_;
NSString* DebbieAPPKEY_;
NSString* DebbieInviterCode_;
}
@property(strong) NSMutableArray* DebbieList;
@property bool DebbieGeiWoHuaQianBa;
+ (LegacyDebbieAllManagerFunky *)TorahDebbieInstanceCoast;
- (void)FirmlyDebbieChuShiHuaPlayboy;
- (void)WorseDebbieDengLuTyped:(NSString *)DebbieAPPID : (NSString *)DebbieAPPKEY : (UIViewController *)controller;
- (void)PointerDebbieYangShiKeynes:(NSString*)DebbieLeiXing;
- (void)DebbieQuery: (NSString *)DebbieFuWuQiID : (NSString *)DebbieNickName : (NSNumber *)DebbieAmount : (NSString *)DebbieCallBack : (UIViewController *)controller : (NSString *)DebbieServerName;
- (void)DebbieQueryOperation:(UIViewController*)controll DebbieHuoWuID:(NSString*)products DebbieJiaGe:(NSString*)amount DebbieHuoWuMing:(NSString*)productName DebbieDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface SettledDebbieControlSeconds : NSObject
@interface ModularSurnameControlJupiter : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface PointerDebbieInformationJMKeynes : NSObject
@interface ModularSurnameInformationJMJupiter : NSObject
+(NSString *)DebbieJM:(NSString *)jm;
+(NSString *)SurnameJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface KeywordHaiBaoJuheConfigCalhoun : NSObject
@interface RogersHaiBaoJuheConfigFedex : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
......@@ -12,11 +12,11 @@
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (KeywordHaiBaoJuheConfigCalhoun *)InputgetInstanceArbor;
+ (RogersHaiBaoJuheConfigFedex *)GraphicgetInstanceScript;
- (void) loadFile:(NSString *) fileName;
- (NSString *)LegacygetValueByKeyFunky:(NSString *) key;
- (NSString *)RopesgetValueByKeyJarvis:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface KeywordHaiBaoJuheGzyazfInfoCalhoun : InputDebbieHaiBaoJuheBaseModelArbor
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface RogersHaiBaoJuheGzyazfInfoFedex : GraphicSurnameHaiBaoJuheBaseModelScript
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// KeywordHaiBaoJuheNotificationCalhoun.h
// RogersHaiBaoJuheNotificationFedex.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface KeywordHaiBaoJuheNotificationCalhoun : NSObject
@interface RogersHaiBaoJuheNotificationFedex : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface TigersDebbieControlSister : NSObject
@interface RogersSurnameControlFedex : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface RopesSurnameAllManagerJarvis : NSObject
{
NSString* SurnameAPPID_;
NSString* SurnameAPPKEY_;
NSString* SurnameInviterCode_;
}
@property(strong) NSMutableArray* SurnameList;
@property bool SurnameGeiWoHuaQianBa;
+ (RopesSurnameAllManagerJarvis *)BhutanSurnameInstanceClosest;
- (void)BouquetSurnameChuShiHuaRiders;
- (void)DealersSurnameDengLuAuction:(NSString *)SurnameAPPID : (NSString *)SurnameAPPKEY : (UIViewController *)controller;
- (void)ModularSurnameYangShiJupiter:(NSString*)SurnameLeiXing;
- (void)SurnameQuery: (NSString *)SurnameFuWuQiID : (NSString *)SurnameNickName : (NSNumber *)SurnameAmount : (NSString *)SurnameCallBack : (UIViewController *)controller : (NSString *)SurnameServerName;
- (void)SurnameQueryOperation:(UIViewController*)controll SurnameHuoWuID:(NSString*)products SurnameJiaGe:(NSString*)amount SurnameHuoWuMing:(NSString*)productName SurnameDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface LegacyDebbieHaiBaoJuheDGLoggerFunky : NSObject
@interface RopesSurnameHaiBaoJuheDGLoggerJarvis : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface WorseDebbieControlTyped : NSObject
@interface SerumSurnameControlVague : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const LegacyDebbieExitNotificationFunky;
extern NSString * const KeywordDebbieLoginNotificationCalhoun;
extern NSString * const InputDebbieErrorNotificationArbor;
@interface SettledDebbieHuiTiaoNotificationSeconds : NSObject
@end
#import <UIKit/UIKit.h>
@interface TorahDebbieIAPHelperControlCoast : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* DebbieDingDanHao;
@property(nonatomic,strong) NSDictionary* DebbieHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* DebbieHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *DebbieHuoWuLieBiaoView;
- (void)DebbieHuaQianView:(UIViewController*)controller DebbieHuoWuD:(NSString*)products DebbieQian:(NSString*)amount DebbieHuoWuMing:(NSString*)productName DebbieDingDanHao:(NSString*)DingDanHao;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/LegacyDebbieAllManagerFunky.h"
#import "HaiBaoJuheSDK/SettledDebbieHuiTiaoNotificationSeconds.h"
#import "HaiBaoJuheSDK/FirmlyDebbieInformationPlayboy.h"
#import "HaiBaoJuheSDK/RopesSurnameAllManagerJarvis.h"
#import "HaiBaoJuheSDK/GasesSurnameHuiTiaoNotificationKeynote.h"
#import "HaiBaoJuheSDK/BouquetSurnameInformationRiders.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *DebbieAppId;
NSString *DebbieAppKey;
NSString *DebbieLeakOrderUrl;
NSString *SurnameAppId;
NSString *SurnameAppKey;
NSString *SurnameLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast]FirmlyDebbieChuShiHuaPlayboy];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast]PointerDebbieYangShiKeynes:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:KeywordDebbieLoginNotificationCalhoun object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"DebbieToolCallBack" object:nil];
[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]BouquetSurnameChuShiHuaRiders];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]ModularSurnameYangShiJupiter:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:RogersSurnameLoginNotificationFedex object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"SurnameToolCallBack" object:nil];
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"gamechannelid"];
NSString* channelId = [[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
[TrackingIO initWithappKey:[[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"renyunAppKey"] withChannelId:channelId];
[TrackingIO initWithappKey:[[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"renyunAppKey"] withChannelId:channelId];
}
/**
......@@ -40,9 +40,9 @@ NSString *DebbieLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
DebbieAppId = [[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"APP_ID"];
DebbieAppKey =[[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"APP_KEY"];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast]WorseDebbieDengLuTyped:DebbieAppId :DebbieAppKey :self.controller];
SurnameAppId = [[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"APP_ID"];
SurnameAppKey =[[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"APP_KEY"];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]DealersSurnameDengLuAuction:SurnameAppId :SurnameAppKey :self.controller];
}
......@@ -53,12 +53,12 @@ NSString *DebbieLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[FirmlyDebbieInformationPlayboy getInstance]openId];
loginInfo.sign = [[FirmlyDebbieInformationPlayboy getInstance] token];
loginInfo.timestamp = [[FirmlyDebbieInformationPlayboy getInstance] timestamp];
loginInfo.openId = [[BouquetSurnameInformationRiders getInstance]openId];
loginInfo.sign = [[BouquetSurnameInformationRiders getInstance] token];
loginInfo.timestamp = [[BouquetSurnameInformationRiders getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] startCheck:loginInfo];
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] startCheck:loginInfo];
});
}
......@@ -82,7 +82,7 @@ NSString *DebbieLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"DebbieToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"SurnameToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,10 +101,10 @@ NSString *DebbieLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DebbieLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:SurnameLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -122,11 +122,11 @@ NSString *DebbieLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
DebbieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun],
SurnameLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:DebbieLeakOrderUrl forKey:@"lastDebbieLeakOrderUrl"];
[userDefaults setObject:SurnameLeakOrderUrl forKey:@"lastSurnameLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -136,7 +136,7 @@ NSString *DebbieLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DebbieLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:SurnameLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -146,8 +146,8 @@ NSString *DebbieLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
DebbieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun],
SurnameLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -213,12 +213,12 @@ NSString *DebbieLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastDebbieLeakOrderUrl = [userDefaults objectForKey:@"lastDebbieLeakOrderUrl"];
NSString* lastSurnameLeakOrderUrl = [userDefaults objectForKey:@"lastSurnameLeakOrderUrl"];
NSString* result;
if (lastDebbieLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDebbieLeakOrderUrl :receiptDic];
if (lastSurnameLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastSurnameLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun] :receiptDic];
result = [[NetCenter getInstance] httpPostSyn:[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -240,7 +240,7 @@ NSString *DebbieLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
KeywordHaiBaoJuheGzyazfInfoCalhoun *payInfo = [notification object];
RogersHaiBaoJuheGzyazfInfoFedex *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -254,14 +254,14 @@ NSString *DebbieLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast] DebbieQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest] SurnameQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
//保存订单号到本地
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:queryId forKey:@"lastqueryid"];
[userDefaults synchronize];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast] DebbieQueryOperation:self.controller DebbieHuoWuID:products DebbieJiaGe:[payInfo postAmount] DebbieHuoWuMing:[payInfo productName] DebbieDingDanHao:queryId];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest] SurnameQueryOperation:self.controller SurnameHuoWuID:products SurnameJiaGe:[payInfo postAmount] SurnameHuoWuMing:[payInfo productName] SurnameDingDanHao:queryId];
}
}
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface SpursHaiBaoJuheUtilsPrecise : NSObject
@interface AspireHaiBaoJuheUtilsPublish : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) DebbieHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) SurnameHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)KeywordcreateGzyazfUrlCalhoun;
+(NSString *)RogerscreateGzyazfUrlFedex;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "FirmlyDebbieInformationPlayboy.h"
#import "BouquetSurnameInformationRiders.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface SpursDebbieMainPrecise : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface AspireSurnameMainPublish : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webDebbieView_;
UIWebView *webSurnameView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL DebbieYouYuanJiao;
@property(assign) BOOL SurnameYouYuanJiao;
- (void)DebbieSettingDebbieView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DebbieInitWebView;
- (void)SurnameSettingSurnameView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)SurnameInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <UIKit/UIKit.h>
@interface BhutanSurnameIAPHelperControlClosest : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* SurnameDingDanHao;
@property(nonatomic,strong) NSDictionary* SurnameHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* SurnameHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *SurnameHuoWuLieBiaoView;
- (void)SurnameHuaQianView:(UIViewController*)controller SurnameHuoWuD:(NSString*)products SurnameQian:(NSString*)amount SurnameHuoWuMing:(NSString*)productName SurnameDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface FirmlyDebbieInformationPlayboy : NSObject
@interface BouquetSurnameInformationRiders : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (FirmlyDebbieInformationPlayboy *)getInstance;
+ (BouquetSurnameInformationRiders *)getInstance;
@end
......
#import <Foundation/Foundation.h>
@interface KeywordDebbieControlCalhoun : NSObject
@interface DealersSurnameControlAuction : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface PointerDebbieControlKeynes : NSObject
@interface GasesSurnameControlKeynote : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const RopesSurnameExitNotificationJarvis;
extern NSString * const RogersSurnameLoginNotificationFedex;
extern NSString * const GraphicSurnameErrorNotificationScript;
@interface GasesSurnameHuiTiaoNotificationKeynote : NSObject
@end
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface InputDebbieHaiBaoJuheBaseModelArbor : NSObject
@interface GraphicSurnameHaiBaoJuheBaseModelScript : NSObject
- (NSString *) DebbieHaiBaoJuheObjectToJsonString;
- (NSString *) SurnameHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheCreateOrderInfo : InputDebbieHaiBaoJuheBaseModelArbor
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheCreateOrderInfo : GraphicSurnameHaiBaoJuheBaseModelScript
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
......@@ -16,7 +16,7 @@
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) DebbieHaiBaoJuheGetTsign ;
- (NSString *) DebbieHaiBaoJuheGetTimestamp ;
- (NSString *) SurnameHaiBaoJuheGetTsign ;
- (NSString *) SurnameHaiBaoJuheGetTimestamp ;
@end
......
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheLoginInfo : InputDebbieHaiBaoJuheBaseModelArbor
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheLoginInfo : GraphicSurnameHaiBaoJuheBaseModelScript
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// DebbieHaiBaoJuheReportInfo.h
// SurnameHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheReportInfo : InputDebbieHaiBaoJuheBaseModelArbor
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface HaiBaoJuheReportInfo : GraphicSurnameHaiBaoJuheBaseModelScript
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* DebbieList;
@property(strong) NSMutableArray* SurnameList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "ComplexHaiBaoJuheCheckerBiotech.h"
#import "HavanaHaiBaoJuheCheckerSeason.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "KeywordHaiBaoJuheNotificationCalhoun.h"
#import "KeywordHaiBaoJuheGzyazfInfoCalhoun.h"
#import "RogersHaiBaoJuheNotificationFedex.h"
#import "RogersHaiBaoJuheGzyazfInfoFedex.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "KeywordHaiBaoJuheConfigCalhoun.h"
#import "SpursHaiBaoJuheUtilsPrecise.h"
#import "RogersHaiBaoJuheConfigFedex.h"
#import "AspireHaiBaoJuheUtilsPublish.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "KeywordHaiBaoJuheNotificationCalhoun.h"
#import "RogersHaiBaoJuheNotificationFedex.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "KeywordHaiBaoJuheGzyazfInfoCalhoun.h"
#import "RogersHaiBaoJuheGzyazfInfoFedex.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface ComplexHaiBaoJuheCheckerBiotech : NSObject<HaiBaoJuheSDKDelegate>
@interface HavanaHaiBaoJuheCheckerSeason : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (ComplexHaiBaoJuheCheckerBiotech *)TigersgetInstanceSister;
+ (HavanaHaiBaoJuheCheckerSeason *)SerumgetInstanceVague;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) DebbieHaiBaoJuhereportOpen;
- (void) DebbieHaiBaoJuhereportSDKOpen;
- (void) DebbieHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) SurnameHaiBaoJuhereportOpen;
- (void) SurnameHaiBaoJuhereportSDKOpen;
- (void) SurnameHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) DebbieHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) SurnameHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) DebbieHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) SurnameHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface ComplexDebbieLocationBiotech : NSObject
@interface HavanaSurnameLocationSeason : NSObject
+ (NSString *)DebbieSKCloudServiceSetupOptionsKey;
+ (NSString *)SurnameSKCloudServiceSetupOptionsKey;
@end
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface LegacyDebbieAllManagerFunky : NSObject
{
NSString* DebbieAPPID_;
NSString* DebbieAPPKEY_;
NSString* DebbieInviterCode_;
}
@property(strong) NSMutableArray* DebbieList;
@property bool DebbieGeiWoHuaQianBa;
+ (LegacyDebbieAllManagerFunky *)TorahDebbieInstanceCoast;
- (void)FirmlyDebbieChuShiHuaPlayboy;
- (void)WorseDebbieDengLuTyped:(NSString *)DebbieAPPID : (NSString *)DebbieAPPKEY : (UIViewController *)controller;
- (void)PointerDebbieYangShiKeynes:(NSString*)DebbieLeiXing;
- (void)DebbieQuery: (NSString *)DebbieFuWuQiID : (NSString *)DebbieNickName : (NSNumber *)DebbieAmount : (NSString *)DebbieCallBack : (UIViewController *)controller : (NSString *)DebbieServerName;
- (void)DebbieQueryOperation:(UIViewController*)controll DebbieHuoWuID:(NSString*)products DebbieJiaGe:(NSString*)amount DebbieHuoWuMing:(NSString*)productName DebbieDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface SettledDebbieControlSeconds : NSObject
@interface ModularSurnameControlJupiter : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface PointerDebbieInformationJMKeynes : NSObject
@interface ModularSurnameInformationJMJupiter : NSObject
+(NSString *)DebbieJM:(NSString *)jm;
+(NSString *)SurnameJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface KeywordHaiBaoJuheConfigCalhoun : NSObject
@interface RogersHaiBaoJuheConfigFedex : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
......@@ -12,11 +12,11 @@
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (KeywordHaiBaoJuheConfigCalhoun *)InputgetInstanceArbor;
+ (RogersHaiBaoJuheConfigFedex *)GraphicgetInstanceScript;
- (void) loadFile:(NSString *) fileName;
- (NSString *)LegacygetValueByKeyFunky:(NSString *) key;
- (NSString *)RopesgetValueByKeyJarvis:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface KeywordHaiBaoJuheGzyazfInfoCalhoun : InputDebbieHaiBaoJuheBaseModelArbor
#import "GraphicSurnameHaiBaoJuheBaseModelScript.h"
@interface RogersHaiBaoJuheGzyazfInfoFedex : GraphicSurnameHaiBaoJuheBaseModelScript
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// KeywordHaiBaoJuheNotificationCalhoun.h
// RogersHaiBaoJuheNotificationFedex.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface KeywordHaiBaoJuheNotificationCalhoun : NSObject
@interface RogersHaiBaoJuheNotificationFedex : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface TigersDebbieControlSister : NSObject
@interface RogersSurnameControlFedex : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface RopesSurnameAllManagerJarvis : NSObject
{
NSString* SurnameAPPID_;
NSString* SurnameAPPKEY_;
NSString* SurnameInviterCode_;
}
@property(strong) NSMutableArray* SurnameList;
@property bool SurnameGeiWoHuaQianBa;
+ (RopesSurnameAllManagerJarvis *)BhutanSurnameInstanceClosest;
- (void)BouquetSurnameChuShiHuaRiders;
- (void)DealersSurnameDengLuAuction:(NSString *)SurnameAPPID : (NSString *)SurnameAPPKEY : (UIViewController *)controller;
- (void)ModularSurnameYangShiJupiter:(NSString*)SurnameLeiXing;
- (void)SurnameQuery: (NSString *)SurnameFuWuQiID : (NSString *)SurnameNickName : (NSNumber *)SurnameAmount : (NSString *)SurnameCallBack : (UIViewController *)controller : (NSString *)SurnameServerName;
- (void)SurnameQueryOperation:(UIViewController*)controll SurnameHuoWuID:(NSString*)products SurnameJiaGe:(NSString*)amount SurnameHuoWuMing:(NSString*)productName SurnameDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface LegacyDebbieHaiBaoJuheDGLoggerFunky : NSObject
@interface RopesSurnameHaiBaoJuheDGLoggerJarvis : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface WorseDebbieControlTyped : NSObject
@interface SerumSurnameControlVague : NSObject
- (void)initDebbieInstance;
- (void)initSurnameInstance;
- (void) DebbieStartGo;
- (void) SurnameStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const LegacyDebbieExitNotificationFunky;
extern NSString * const KeywordDebbieLoginNotificationCalhoun;
extern NSString * const InputDebbieErrorNotificationArbor;
@interface SettledDebbieHuiTiaoNotificationSeconds : NSObject
@end
#import <UIKit/UIKit.h>
@interface TorahDebbieIAPHelperControlCoast : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* DebbieDingDanHao;
@property(nonatomic,strong) NSDictionary* DebbieHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* DebbieHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *DebbieHuoWuLieBiaoView;
- (void)DebbieHuaQianView:(UIViewController*)controller DebbieHuoWuD:(NSString*)products DebbieQian:(NSString*)amount DebbieHuoWuMing:(NSString*)productName DebbieDingDanHao:(NSString*)DingDanHao;
@end
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/LegacyDebbieAllManagerFunky.h"
#import "HaiBaoJuheSDK/SettledDebbieHuiTiaoNotificationSeconds.h"
#import "HaiBaoJuheSDK/FirmlyDebbieInformationPlayboy.h"
#import "HaiBaoJuheSDK/RopesSurnameAllManagerJarvis.h"
#import "HaiBaoJuheSDK/GasesSurnameHuiTiaoNotificationKeynote.h"
#import "HaiBaoJuheSDK/BouquetSurnameInformationRiders.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *DebbieAppId;
NSString *DebbieAppKey;
NSString *DebbieLeakOrderUrl;
NSString *SurnameAppId;
NSString *SurnameAppKey;
NSString *SurnameLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast]FirmlyDebbieChuShiHuaPlayboy];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast]PointerDebbieYangShiKeynes:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:KeywordDebbieLoginNotificationCalhoun object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"DebbieToolCallBack" object:nil];
[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]BouquetSurnameChuShiHuaRiders];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]ModularSurnameYangShiJupiter:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:RogersSurnameLoginNotificationFedex object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"SurnameToolCallBack" object:nil];
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"gamechannelid"];
NSString* channelId = [[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
[TrackingIO initWithappKey:[[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"renyunAppKey"] withChannelId:channelId];
[TrackingIO initWithappKey:[[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"renyunAppKey"] withChannelId:channelId];
}
/**
......@@ -40,9 +40,9 @@ NSString *DebbieLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
DebbieAppId = [[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"APP_ID"];
DebbieAppKey =[[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"APP_KEY"];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast]WorseDebbieDengLuTyped:DebbieAppId :DebbieAppKey :self.controller];
SurnameAppId = [[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"APP_ID"];
SurnameAppKey =[[RogersHaiBaoJuheConfigFedex GraphicgetInstanceScript] RopesgetValueByKeyJarvis:@"APP_KEY"];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest]DealersSurnameDengLuAuction:SurnameAppId :SurnameAppKey :self.controller];
}
......@@ -53,12 +53,12 @@ NSString *DebbieLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[FirmlyDebbieInformationPlayboy getInstance]openId];
loginInfo.sign = [[FirmlyDebbieInformationPlayboy getInstance] token];
loginInfo.timestamp = [[FirmlyDebbieInformationPlayboy getInstance] timestamp];
loginInfo.openId = [[BouquetSurnameInformationRiders getInstance]openId];
loginInfo.sign = [[BouquetSurnameInformationRiders getInstance] token];
loginInfo.timestamp = [[BouquetSurnameInformationRiders getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] startCheck:loginInfo];
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] startCheck:loginInfo];
});
}
......@@ -82,7 +82,7 @@ NSString *DebbieLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"DebbieToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"SurnameToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,10 +101,10 @@ NSString *DebbieLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DebbieLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:SurnameLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[HavanaHaiBaoJuheCheckerSeason SerumgetInstanceVague] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -122,11 +122,11 @@ NSString *DebbieLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
DebbieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun],
SurnameLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:DebbieLeakOrderUrl forKey:@"lastDebbieLeakOrderUrl"];
[userDefaults setObject:SurnameLeakOrderUrl forKey:@"lastSurnameLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -136,7 +136,7 @@ NSString *DebbieLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DebbieLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:SurnameLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -146,8 +146,8 @@ NSString *DebbieLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
DebbieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun],
SurnameLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -213,12 +213,12 @@ NSString *DebbieLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastDebbieLeakOrderUrl = [userDefaults objectForKey:@"lastDebbieLeakOrderUrl"];
NSString* lastSurnameLeakOrderUrl = [userDefaults objectForKey:@"lastSurnameLeakOrderUrl"];
NSString* result;
if (lastDebbieLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDebbieLeakOrderUrl :receiptDic];
if (lastSurnameLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastSurnameLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun] :receiptDic];
result = [[NetCenter getInstance] httpPostSyn:[AspireHaiBaoJuheUtilsPublish RogerscreateGzyazfUrlFedex] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -240,7 +240,7 @@ NSString *DebbieLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
KeywordHaiBaoJuheGzyazfInfoCalhoun *payInfo = [notification object];
RogersHaiBaoJuheGzyazfInfoFedex *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -254,14 +254,14 @@ NSString *DebbieLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast] DebbieQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest] SurnameQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
}else{
NSString* products = [payInfo products];
//保存订单号到本地
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
[userDefaults setObject:queryId forKey:@"lastqueryid"];
[userDefaults synchronize];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast] DebbieQueryOperation:self.controller DebbieHuoWuID:products DebbieJiaGe:[payInfo postAmount] DebbieHuoWuMing:[payInfo productName] DebbieDingDanHao:queryId];
[[RopesSurnameAllManagerJarvis BhutanSurnameInstanceClosest] SurnameQueryOperation:self.controller SurnameHuoWuID:products SurnameJiaGe:[payInfo postAmount] SurnameHuoWuMing:[payInfo productName] SurnameDingDanHao:queryId];
}
}
......