lizhihui

更新190823版本3

Showing 58 changed files with 304 additions and 304 deletions
#import <UIKit/UIKit.h>
@interface BoxingDialupIAPHelperControlHinge : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* DialupDingDanHao;
@property(nonatomic,strong) NSDictionary* DialupHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* DialupHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *DialupHuoWuLieBiaoView;
- (void)DialupHuaQianView:(UIViewController*)controller DialupHuoWuD:(NSString*)products DialupQian:(NSString*)amount DialupHuoWuMing:(NSString*)productName DialupDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface JuliaDialupLocationBurkina : NSObject
@interface ComplexDebbieLocationBiotech : NSObject
+ (NSString *)DialupSKCloudServiceSetupOptionsKey;
+ (NSString *)DebbieSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "FaqfaqHaiBaoJuheNotificationHormone.h"
#import "KeywordHaiBaoJuheNotificationCalhoun.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "FaqfaqHaiBaoJuheGzyazfInfoHormone.h"
#import "KeywordHaiBaoJuheGzyazfInfoCalhoun.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface JuliaHaiBaoJuheCheckerBurkina : NSObject<HaiBaoJuheSDKDelegate>
@interface ComplexHaiBaoJuheCheckerBiotech : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (JuliaHaiBaoJuheCheckerBurkina *)DamagegetInstanceMoines;
+ (ComplexHaiBaoJuheCheckerBiotech *)TigersgetInstanceSister;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) DialupHaiBaoJuhereportOpen;
- (void) DialupHaiBaoJuhereportSDKOpen;
- (void) DialupHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) DebbieHaiBaoJuhereportOpen;
- (void) DebbieHaiBaoJuhereportSDKOpen;
- (void) DebbieHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) DialupHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) DebbieHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) DialupHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) DebbieHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <Foundation/Foundation.h>
extern NSString * const TriggerDialupExitNotificationRepeat;
extern NSString * const FaqfaqDialupLoginNotificationHormone;
extern NSString * const StereoDialupErrorNotificationBluff;
@interface CruiserDialupHuiTiaoNotificationTiger : NSObject
@end
#import <Foundation/Foundation.h>
@interface HitachiDialupInformationSeize : NSObject
@interface FirmlyDebbieInformationPlayboy : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (HitachiDialupInformationSeize *)getInstance;
+ (FirmlyDebbieInformationPlayboy *)getInstance;
@end
......
#import "StereoDialupHaiBaoJuheBaseModelBluff.h"
@interface HaiBaoJuheCreateOrderInfo : StereoDialupHaiBaoJuheBaseModelBluff
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheCreateOrderInfo : InputDebbieHaiBaoJuheBaseModelArbor
@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 *) DialupHaiBaoJuheGetTsign ;
- (NSString *) DialupHaiBaoJuheGetTimestamp ;
- (NSString *) DebbieHaiBaoJuheGetTsign ;
- (NSString *) DebbieHaiBaoJuheGetTimestamp ;
@end
......
#import "StereoDialupHaiBaoJuheBaseModelBluff.h"
@interface HaiBaoJuheLoginInfo : StereoDialupHaiBaoJuheBaseModelBluff
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheLoginInfo : InputDebbieHaiBaoJuheBaseModelArbor
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// DialupHaiBaoJuheReportInfo.h
// DebbieHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "StereoDialupHaiBaoJuheBaseModelBluff.h"
@interface HaiBaoJuheReportInfo : StereoDialupHaiBaoJuheBaseModelBluff
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheReportInfo : InputDebbieHaiBaoJuheBaseModelArbor
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* DialupList;
@property(strong) NSMutableArray* DebbieList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "JuliaHaiBaoJuheCheckerBurkina.h"
#import "ComplexHaiBaoJuheCheckerBiotech.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "FaqfaqHaiBaoJuheNotificationHormone.h"
#import "FaqfaqHaiBaoJuheGzyazfInfoHormone.h"
#import "KeywordHaiBaoJuheNotificationCalhoun.h"
#import "KeywordHaiBaoJuheGzyazfInfoCalhoun.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "FaqfaqHaiBaoJuheConfigHormone.h"
#import "RewriteHaiBaoJuheUtilsFolded.h"
#import "KeywordHaiBaoJuheConfigCalhoun.h"
#import "SpursHaiBaoJuheUtilsPrecise.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface StereoDialupHaiBaoJuheBaseModelBluff : NSObject
@interface InputDebbieHaiBaoJuheBaseModelArbor : NSObject
- (NSString *) DialupHaiBaoJuheObjectToJsonString;
- (NSString *) DebbieHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <Foundation/Foundation.h>
@interface CruiserDialupControlTiger : NSObject
@interface KeywordDebbieControlCalhoun : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface FaqfaqHaiBaoJuheConfigHormone : NSObject
@interface KeywordHaiBaoJuheConfigCalhoun : 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;
+ (FaqfaqHaiBaoJuheConfigHormone *)StereogetInstanceBluff;
+ (KeywordHaiBaoJuheConfigCalhoun *)InputgetInstanceArbor;
- (void) loadFile:(NSString *) fileName;
- (NSString *)TriggergetValueByKeyRepeat:(NSString *) key;
- (NSString *)LegacygetValueByKeyFunky:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "StereoDialupHaiBaoJuheBaseModelBluff.h"
@interface FaqfaqHaiBaoJuheGzyazfInfoHormone : StereoDialupHaiBaoJuheBaseModelBluff
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface KeywordHaiBaoJuheGzyazfInfoCalhoun : InputDebbieHaiBaoJuheBaseModelArbor
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// FaqfaqHaiBaoJuheNotificationHormone.h
// KeywordHaiBaoJuheNotificationCalhoun.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface FaqfaqHaiBaoJuheNotificationHormone : NSObject
@interface KeywordHaiBaoJuheNotificationCalhoun : NSObject
@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
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface TriggerDialupHaiBaoJuheDGLoggerRepeat : NSObject
@interface LegacyDebbieHaiBaoJuheDGLoggerFunky : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface DamageDialupControlMoines : NSObject
@interface PointerDebbieControlKeynes : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface FacingDialupInformationJMGradual : NSObject
@interface PointerDebbieInformationJMKeynes : NSObject
+(NSString *)DialupJM:(NSString *)jm;
+(NSString *)DebbieJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface FacingDialupControlGradual : NSObject
@interface SettledDebbieControlSeconds : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@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>
#import "HitachiDialupInformationSeize.h"
#import "FirmlyDebbieInformationPlayboy.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface RewriteDialupMainFolded : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface SpursDebbieMainPrecise : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webDialupView_;
UIWebView *webDebbieView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL DialupYouYuanJiao;
@property(assign) BOOL DebbieYouYuanJiao;
- (void)DialupSettingDialupView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DialupInitWebView;
- (void)DebbieSettingDebbieView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DebbieInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface RewriteHaiBaoJuheUtilsFolded : NSObject
@interface SpursHaiBaoJuheUtilsPrecise : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) DialupHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) DebbieHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)FaqfaqcreateGzyazfUrlHormone;
+(NSString *)KeywordcreateGzyazfUrlCalhoun;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <Foundation/Foundation.h>
@interface FaqfaqDialupControlHormone : NSObject
@interface TigersDebbieControlSister : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@property(strong) NSMutableArray* myarray;
......
#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
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface TriggerDialupAllManagerRepeat : NSObject
{
NSString* DialupAPPID_;
NSString* DialupAPPKEY_;
NSString* DialupInviterCode_;
}
@property(strong) NSMutableArray* DialupList;
@property bool DialupGeiWoHuaQianBa;
+ (TriggerDialupAllManagerRepeat *)BoxingDialupInstanceHinge;
- (void)HitachiDialupChuShiHuaSeize;
- (void)PackersDialupDengLuUnseen:(NSString *)DialupAPPID : (NSString *)DialupAPPKEY : (UIViewController *)controller;
- (void)FacingDialupYangShiGradual:(NSString*)DialupLeiXing;
- (void)DialupQuery: (NSString *)DialupFuWuQiID : (NSString *)DialupNickName : (NSNumber *)DialupAmount : (NSString *)DialupCallBack : (UIViewController *)controller : (NSString *)DialupServerName;
- (void)DialupQueryOperation:(UIViewController*)controll DialupHuoWuID:(NSString*)products DialupJiaGe:(NSString*)amount DialupHuoWuMing:(NSString*)productName DialupDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface PackersDialupControlUnseen : NSObject
@interface WorseDebbieControlTyped : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@property(strong) NSMutableArray* myarray;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/TriggerDialupAllManagerRepeat.h"
#import "HaiBaoJuheSDK/CruiserDialupHuiTiaoNotificationTiger.h"
#import "HaiBaoJuheSDK/HitachiDialupInformationSeize.h"
#import "HaiBaoJuheSDK/LegacyDebbieAllManagerFunky.h"
#import "HaiBaoJuheSDK/SettledDebbieHuiTiaoNotificationSeconds.h"
#import "HaiBaoJuheSDK/FirmlyDebbieInformationPlayboy.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *DialupAppId;
NSString *DialupAppKey;
NSString *DialupLeakOrderUrl;
NSString *DebbieAppId;
NSString *DebbieAppKey;
NSString *DebbieLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff];
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge]HitachiDialupChuShiHuaSeize];
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge]FacingDialupYangShiGradual:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:FaqfaqDialupLoginNotificationHormone object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"DialupToolCallBack" object:nil];
[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];
[[JuliaHaiBaoJuheCheckerBurkina DamagegetInstanceMoines] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff] TriggergetValueByKeyRepeat:@"gamechannelid"];
NSString* channelId = [[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
[TrackingIO initWithappKey:[[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff] TriggergetValueByKeyRepeat:@"renyunAppKey"] withChannelId:channelId];
[TrackingIO initWithappKey:[[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"renyunAppKey"] withChannelId:channelId];
}
/**
......@@ -40,9 +40,9 @@ NSString *DialupLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
DialupAppId = [[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff] TriggergetValueByKeyRepeat:@"APP_ID"];
DialupAppKey =[[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff] TriggergetValueByKeyRepeat:@"APP_KEY"];
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge]PackersDialupDengLuUnseen:DialupAppId :DialupAppKey :self.controller];
DebbieAppId = [[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"APP_ID"];
DebbieAppKey =[[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"APP_KEY"];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast]WorseDebbieDengLuTyped:DebbieAppId :DebbieAppKey :self.controller];
}
......@@ -53,12 +53,12 @@ NSString *DialupLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[HitachiDialupInformationSeize getInstance]openId];
loginInfo.sign = [[HitachiDialupInformationSeize getInstance] token];
loginInfo.timestamp = [[HitachiDialupInformationSeize getInstance] timestamp];
loginInfo.openId = [[FirmlyDebbieInformationPlayboy getInstance]openId];
loginInfo.sign = [[FirmlyDebbieInformationPlayboy getInstance] token];
loginInfo.timestamp = [[FirmlyDebbieInformationPlayboy getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[JuliaHaiBaoJuheCheckerBurkina DamagegetInstanceMoines] startCheck:loginInfo];
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] startCheck:loginInfo];
});
}
......@@ -82,7 +82,7 @@ NSString *DialupLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"DialupToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"DebbieToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,10 +101,10 @@ NSString *DialupLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DialupLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:DebbieLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[JuliaHaiBaoJuheCheckerBurkina DamagegetInstanceMoines] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -122,11 +122,11 @@ NSString *DialupLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
DialupLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[RewriteHaiBaoJuheUtilsFolded FaqfaqcreateGzyazfUrlHormone],
DebbieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:DialupLeakOrderUrl forKey:@"lastDialupLeakOrderUrl"];
[userDefaults setObject:DebbieLeakOrderUrl forKey:@"lastDebbieLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -136,7 +136,7 @@ NSString *DialupLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DialupLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:DebbieLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -146,8 +146,8 @@ NSString *DialupLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
DialupLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[RewriteHaiBaoJuheUtilsFolded FaqfaqcreateGzyazfUrlHormone],
DebbieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -213,12 +213,12 @@ NSString *DialupLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastDialupLeakOrderUrl = [userDefaults objectForKey:@"lastDialupLeakOrderUrl"];
NSString* lastDebbieLeakOrderUrl = [userDefaults objectForKey:@"lastDebbieLeakOrderUrl"];
NSString* result;
if (lastDialupLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDialupLeakOrderUrl :receiptDic];
if (lastDebbieLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDebbieLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[RewriteHaiBaoJuheUtilsFolded FaqfaqcreateGzyazfUrlHormone] :receiptDic];
result = [[NetCenter getInstance] httpPostSyn:[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -240,7 +240,7 @@ NSString *DialupLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
FaqfaqHaiBaoJuheGzyazfInfoHormone *payInfo = [notification object];
KeywordHaiBaoJuheGzyazfInfoCalhoun *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -254,14 +254,14 @@ NSString *DialupLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge] DialupQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast] DebbieQuery: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];
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge] DialupQueryOperation:self.controller DialupHuoWuID:products DialupJiaGe:[payInfo postAmount] DialupHuoWuMing:[payInfo productName] DialupDingDanHao:queryId];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast] DebbieQueryOperation:self.controller DebbieHuoWuID:products DebbieJiaGe:[payInfo postAmount] DebbieHuoWuMing:[payInfo productName] DebbieDingDanHao:queryId];
}
}
......
#import <UIKit/UIKit.h>
@interface BoxingDialupIAPHelperControlHinge : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* DialupDingDanHao;
@property(nonatomic,strong) NSDictionary* DialupHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* DialupHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *DialupHuoWuLieBiaoView;
- (void)DialupHuaQianView:(UIViewController*)controller DialupHuoWuD:(NSString*)products DialupQian:(NSString*)amount DialupHuoWuMing:(NSString*)productName DialupDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface JuliaDialupLocationBurkina : NSObject
@interface ComplexDebbieLocationBiotech : NSObject
+ (NSString *)DialupSKCloudServiceSetupOptionsKey;
+ (NSString *)DebbieSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "FaqfaqHaiBaoJuheNotificationHormone.h"
#import "KeywordHaiBaoJuheNotificationCalhoun.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "FaqfaqHaiBaoJuheGzyazfInfoHormone.h"
#import "KeywordHaiBaoJuheGzyazfInfoCalhoun.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface JuliaHaiBaoJuheCheckerBurkina : NSObject<HaiBaoJuheSDKDelegate>
@interface ComplexHaiBaoJuheCheckerBiotech : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (JuliaHaiBaoJuheCheckerBurkina *)DamagegetInstanceMoines;
+ (ComplexHaiBaoJuheCheckerBiotech *)TigersgetInstanceSister;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) DialupHaiBaoJuhereportOpen;
- (void) DialupHaiBaoJuhereportSDKOpen;
- (void) DialupHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) DebbieHaiBaoJuhereportOpen;
- (void) DebbieHaiBaoJuhereportSDKOpen;
- (void) DebbieHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) DialupHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) DebbieHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) DialupHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) DebbieHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <Foundation/Foundation.h>
extern NSString * const TriggerDialupExitNotificationRepeat;
extern NSString * const FaqfaqDialupLoginNotificationHormone;
extern NSString * const StereoDialupErrorNotificationBluff;
@interface CruiserDialupHuiTiaoNotificationTiger : NSObject
@end
#import <Foundation/Foundation.h>
@interface HitachiDialupInformationSeize : NSObject
@interface FirmlyDebbieInformationPlayboy : NSObject
{
//
NSString *openId;
......@@ -12,5 +12,5 @@ NSString *timestamp;
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
+ (HitachiDialupInformationSeize *)getInstance;
+ (FirmlyDebbieInformationPlayboy *)getInstance;
@end
......
#import "StereoDialupHaiBaoJuheBaseModelBluff.h"
@interface HaiBaoJuheCreateOrderInfo : StereoDialupHaiBaoJuheBaseModelBluff
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheCreateOrderInfo : InputDebbieHaiBaoJuheBaseModelArbor
@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 *) DialupHaiBaoJuheGetTsign ;
- (NSString *) DialupHaiBaoJuheGetTimestamp ;
- (NSString *) DebbieHaiBaoJuheGetTsign ;
- (NSString *) DebbieHaiBaoJuheGetTimestamp ;
@end
......
#import "StereoDialupHaiBaoJuheBaseModelBluff.h"
@interface HaiBaoJuheLoginInfo : StereoDialupHaiBaoJuheBaseModelBluff
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheLoginInfo : InputDebbieHaiBaoJuheBaseModelArbor
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// DialupHaiBaoJuheReportInfo.h
// DebbieHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "StereoDialupHaiBaoJuheBaseModelBluff.h"
@interface HaiBaoJuheReportInfo : StereoDialupHaiBaoJuheBaseModelBluff
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface HaiBaoJuheReportInfo : InputDebbieHaiBaoJuheBaseModelArbor
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -10,7 +10,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* DialupList;
@property(strong) NSMutableArray* DebbieList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "JuliaHaiBaoJuheCheckerBurkina.h"
#import "ComplexHaiBaoJuheCheckerBiotech.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "Interface.h"
#import "FaqfaqHaiBaoJuheNotificationHormone.h"
#import "FaqfaqHaiBaoJuheGzyazfInfoHormone.h"
#import "KeywordHaiBaoJuheNotificationCalhoun.h"
#import "KeywordHaiBaoJuheGzyazfInfoCalhoun.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "FaqfaqHaiBaoJuheConfigHormone.h"
#import "RewriteHaiBaoJuheUtilsFolded.h"
#import "KeywordHaiBaoJuheConfigCalhoun.h"
#import "SpursHaiBaoJuheUtilsPrecise.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface StereoDialupHaiBaoJuheBaseModelBluff : NSObject
@interface InputDebbieHaiBaoJuheBaseModelArbor : NSObject
- (NSString *) DialupHaiBaoJuheObjectToJsonString;
- (NSString *) DebbieHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <Foundation/Foundation.h>
@interface CruiserDialupControlTiger : NSObject
@interface KeywordDebbieControlCalhoun : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface FaqfaqHaiBaoJuheConfigHormone : NSObject
@interface KeywordHaiBaoJuheConfigCalhoun : 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;
+ (FaqfaqHaiBaoJuheConfigHormone *)StereogetInstanceBluff;
+ (KeywordHaiBaoJuheConfigCalhoun *)InputgetInstanceArbor;
- (void) loadFile:(NSString *) fileName;
- (NSString *)TriggergetValueByKeyRepeat:(NSString *) key;
- (NSString *)LegacygetValueByKeyFunky:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "StereoDialupHaiBaoJuheBaseModelBluff.h"
@interface FaqfaqHaiBaoJuheGzyazfInfoHormone : StereoDialupHaiBaoJuheBaseModelBluff
#import "InputDebbieHaiBaoJuheBaseModelArbor.h"
@interface KeywordHaiBaoJuheGzyazfInfoCalhoun : InputDebbieHaiBaoJuheBaseModelArbor
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// FaqfaqHaiBaoJuheNotificationHormone.h
// KeywordHaiBaoJuheNotificationCalhoun.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -28,7 +28,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface FaqfaqHaiBaoJuheNotificationHormone : NSObject
@interface KeywordHaiBaoJuheNotificationCalhoun : NSObject
@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
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface TriggerDialupHaiBaoJuheDGLoggerRepeat : NSObject
@interface LegacyDebbieHaiBaoJuheDGLoggerFunky : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface DamageDialupControlMoines : NSObject
@interface PointerDebbieControlKeynes : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface FacingDialupInformationJMGradual : NSObject
@interface PointerDebbieInformationJMKeynes : NSObject
+(NSString *)DialupJM:(NSString *)jm;
+(NSString *)DebbieJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface FacingDialupControlGradual : NSObject
@interface SettledDebbieControlSeconds : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@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>
#import "HitachiDialupInformationSeize.h"
#import "FirmlyDebbieInformationPlayboy.h"
#import <JavaScriptCore/JavaScriptCore.h>
@interface RewriteDialupMainFolded : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
@interface SpursDebbieMainPrecise : UIViewController<UIWebViewDelegate,UIAlertViewDelegate>
{
UIWebView *webDialupView_;
UIWebView *webDebbieView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL DialupYouYuanJiao;
@property(assign) BOOL DebbieYouYuanJiao;
- (void)DialupSettingDialupView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DialupInitWebView;
- (void)DebbieSettingDebbieView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)DebbieInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface RewriteHaiBaoJuheUtilsFolded : NSObject
@interface SpursHaiBaoJuheUtilsPrecise : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) DialupHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) DebbieHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)FaqfaqcreateGzyazfUrlHormone;
+(NSString *)KeywordcreateGzyazfUrlCalhoun;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <Foundation/Foundation.h>
@interface FaqfaqDialupControlHormone : NSObject
@interface TigersDebbieControlSister : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@property(strong) NSMutableArray* myarray;
......
#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
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface TriggerDialupAllManagerRepeat : NSObject
{
NSString* DialupAPPID_;
NSString* DialupAPPKEY_;
NSString* DialupInviterCode_;
}
@property(strong) NSMutableArray* DialupList;
@property bool DialupGeiWoHuaQianBa;
+ (TriggerDialupAllManagerRepeat *)BoxingDialupInstanceHinge;
- (void)HitachiDialupChuShiHuaSeize;
- (void)PackersDialupDengLuUnseen:(NSString *)DialupAPPID : (NSString *)DialupAPPKEY : (UIViewController *)controller;
- (void)FacingDialupYangShiGradual:(NSString*)DialupLeiXing;
- (void)DialupQuery: (NSString *)DialupFuWuQiID : (NSString *)DialupNickName : (NSNumber *)DialupAmount : (NSString *)DialupCallBack : (UIViewController *)controller : (NSString *)DialupServerName;
- (void)DialupQueryOperation:(UIViewController*)controll DialupHuoWuID:(NSString*)products DialupJiaGe:(NSString*)amount DialupHuoWuMing:(NSString*)productName DialupDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface PackersDialupControlUnseen : NSObject
@interface WorseDebbieControlTyped : NSObject
- (void)initDialupInstance;
- (void)initDebbieInstance;
- (void) DialupStartGo;
- (void) DebbieStartGo;
@property(strong) NSMutableArray* myarray;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/TriggerDialupAllManagerRepeat.h"
#import "HaiBaoJuheSDK/CruiserDialupHuiTiaoNotificationTiger.h"
#import "HaiBaoJuheSDK/HitachiDialupInformationSeize.h"
#import "HaiBaoJuheSDK/LegacyDebbieAllManagerFunky.h"
#import "HaiBaoJuheSDK/SettledDebbieHuiTiaoNotificationSeconds.h"
#import "HaiBaoJuheSDK/FirmlyDebbieInformationPlayboy.h"
#import "TrackingIO.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *DialupAppId;
NSString *DialupAppKey;
NSString *DialupLeakOrderUrl;
NSString *DebbieAppId;
NSString *DebbieAppKey;
NSString *DebbieLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff];
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge]HitachiDialupChuShiHuaSeize];
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge]FacingDialupYangShiGradual:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:FaqfaqDialupLoginNotificationHormone object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"DialupToolCallBack" object:nil];
[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];
[[JuliaHaiBaoJuheCheckerBurkina DamagegetInstanceMoines] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff] TriggergetValueByKeyRepeat:@"gamechannelid"];
NSString* channelId = [[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
[TrackingIO initWithappKey:[[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff] TriggergetValueByKeyRepeat:@"renyunAppKey"] withChannelId:channelId];
[TrackingIO initWithappKey:[[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"renyunAppKey"] withChannelId:channelId];
}
/**
......@@ -40,9 +40,9 @@ NSString *DialupLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
DialupAppId = [[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff] TriggergetValueByKeyRepeat:@"APP_ID"];
DialupAppKey =[[FaqfaqHaiBaoJuheConfigHormone StereogetInstanceBluff] TriggergetValueByKeyRepeat:@"APP_KEY"];
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge]PackersDialupDengLuUnseen:DialupAppId :DialupAppKey :self.controller];
DebbieAppId = [[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"APP_ID"];
DebbieAppKey =[[KeywordHaiBaoJuheConfigCalhoun InputgetInstanceArbor] LegacygetValueByKeyFunky:@"APP_KEY"];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast]WorseDebbieDengLuTyped:DebbieAppId :DebbieAppKey :self.controller];
}
......@@ -53,12 +53,12 @@ NSString *DialupLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[HitachiDialupInformationSeize getInstance]openId];
loginInfo.sign = [[HitachiDialupInformationSeize getInstance] token];
loginInfo.timestamp = [[HitachiDialupInformationSeize getInstance] timestamp];
loginInfo.openId = [[FirmlyDebbieInformationPlayboy getInstance]openId];
loginInfo.sign = [[FirmlyDebbieInformationPlayboy getInstance] token];
loginInfo.timestamp = [[FirmlyDebbieInformationPlayboy getInstance] timestamp];
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[JuliaHaiBaoJuheCheckerBurkina DamagegetInstanceMoines] startCheck:loginInfo];
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] startCheck:loginInfo];
});
}
......@@ -82,7 +82,7 @@ NSString *DialupLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"DialupToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"DebbieToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -101,10 +101,10 @@ NSString *DialupLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DialupLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:DebbieLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[JuliaHaiBaoJuheCheckerBurkina DamagegetInstanceMoines] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[ComplexHaiBaoJuheCheckerBiotech TigersgetInstanceSister] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -122,11 +122,11 @@ NSString *DialupLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
DialupLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[RewriteHaiBaoJuheUtilsFolded FaqfaqcreateGzyazfUrlHormone],
DebbieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:DialupLeakOrderUrl forKey:@"lastDialupLeakOrderUrl"];
[userDefaults setObject:DebbieLeakOrderUrl forKey:@"lastDebbieLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -136,7 +136,7 @@ NSString *DialupLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSyn:DialupLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSyn:DebbieLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -146,8 +146,8 @@ NSString *DialupLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
DialupLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[RewriteHaiBaoJuheUtilsFolded FaqfaqcreateGzyazfUrlHormone],
DebbieLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -213,12 +213,12 @@ NSString *DialupLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastDialupLeakOrderUrl = [userDefaults objectForKey:@"lastDialupLeakOrderUrl"];
NSString* lastDebbieLeakOrderUrl = [userDefaults objectForKey:@"lastDebbieLeakOrderUrl"];
NSString* result;
if (lastDialupLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDialupLeakOrderUrl :receiptDic];
if (lastDebbieLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSyn:lastDebbieLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSyn:[RewriteHaiBaoJuheUtilsFolded FaqfaqcreateGzyazfUrlHormone] :receiptDic];
result = [[NetCenter getInstance] httpPostSyn:[SpursHaiBaoJuheUtilsPrecise KeywordcreateGzyazfUrlCalhoun] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -240,7 +240,7 @@ NSString *DialupLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
FaqfaqHaiBaoJuheGzyazfInfoHormone *payInfo = [notification object];
KeywordHaiBaoJuheGzyazfInfoCalhoun *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -254,14 +254,14 @@ NSString *DialupLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge] DialupQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast] DebbieQuery: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];
[[TriggerDialupAllManagerRepeat BoxingDialupInstanceHinge] DialupQueryOperation:self.controller DialupHuoWuID:products DialupJiaGe:[payInfo postAmount] DialupHuoWuMing:[payInfo productName] DialupDingDanHao:queryId];
[[LegacyDebbieAllManagerFunky TorahDebbieInstanceCoast] DebbieQueryOperation:self.controller DebbieHuoWuID:products DebbieJiaGe:[payInfo postAmount] DebbieHuoWuMing:[payInfo productName] DebbieDingDanHao:queryId];
}
}
......