xuguohong

dcqs

Showing 67 changed files with 322 additions and 320 deletions
......@@ -7,7 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
1198207824454D980087A9D7 /* goowei_hhsg_config in Resources */ = {isa = PBXBuildFile; fileRef = 1198207724454D980087A9D7 /* goowei_hhsg_config */; };
1198207824454D980087A9D7 /* dcqs_config in Resources */ = {isa = PBXBuildFile; fileRef = 1198207724454D980087A9D7 /* dcqs_config */; };
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */; };
11EE79022420B11200D3AA75 /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 11EE79012420B11200D3AA75 /* SDKInterface.m */; };
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
......@@ -58,7 +58,7 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1198207724454D980087A9D7 /* goowei_hhsg_config */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = goowei_hhsg_config; path = poolsdk_file/poolsdk/goowei_hhsg_config; sourceTree = "<group>"; };
1198207724454D980087A9D7 /* dcqs_config */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dcqs_config; path = poolsdk_file/poolsdk/dcqs_config; sourceTree = "<group>"; };
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = sdk_float_logo.png; path = poolsdk_file/poolsdk/sdk_float_logo.png; sourceTree = "<group>"; };
11EE79002420B11200D3AA75 /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
11EE79012420B11200D3AA75 /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; };
......@@ -140,7 +140,7 @@
children = (
11EE79002420B11200D3AA75 /* SDKInterface.h */,
11EE79012420B11200D3AA75 /* SDKInterface.m */,
1198207724454D980087A9D7 /* goowei_hhsg_config */,
1198207724454D980087A9D7 /* dcqs_config */,
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */,
845D181B1C8D778400F27EB9 /* Images.xcassets */,
845D181C1C8D778400F27EB9 /* Info.plist */,
......@@ -309,7 +309,7 @@
files = (
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */,
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */,
1198207824454D980087A9D7 /* goowei_hhsg_config in Resources */,
1198207824454D980087A9D7 /* dcqs_config in Resources */,
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
......
#import <Foundation/Foundation.h>
extern NSString * const CelloBallotsExitNotificationBench;
extern NSString * const FindsBallotsLoginNotificationExpress;
extern NSString * const CentreBallotsErrorNotificationClosed;
@interface BoothBallotsHuiTiaoNotificationMiguel : NSObject
@end
#import <UIKit/UIKit.h>
@interface BuddyLadenIAPHelperControlDawson : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* LadenDingDanHao;
@property(nonatomic,strong) NSDictionary* LadenHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* LadenHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *LadenHuoWuLieBiaoView;
- (void)LadenHuaQianView:(UIViewController*)controller LadenHuoWuD:(NSString*)products LadenQian:(NSString*)amount LadenHuoWuMing:(NSString*)productName LadenDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface CelloBallotsAllManagerBench : NSObject
{
NSString* BallotsAPPID_;
NSString* BallotsAPPKEY_;
NSString* BallotsInviterCode_;
}
@property(strong) NSMutableArray* BallotsList;
@property bool BallotsGeiWoHuaQianBa;
+ (CelloBallotsAllManagerBench *)HandfulBallotsInstanceLehigh;
- (void)TelecomBallotsChuShiHuaAnnoyed;
- (void)FleeceBallotsDengLuAngus:(NSString *)BallotsAPPID : (NSString *)BallotsAPPKEY : (UIViewController *)controller;
- (void)FutunaBallotsYangShiGlenn:(NSString*)BallotsLeiXing;
- (void)FutunaBallotsUrlGlenn:(NSString*)BallotsUrl;
- (void)BallotsQuery: (NSString *)BallotsFuWuQiID : (NSString *)BallotsNickName : (NSNumber *)BallotsAmount : (NSString *)BallotsCallBack : (UIViewController *)controller : (NSString *)BallotsServerName;
- (void)BallotsQueryOperation:(UIViewController*)controll BallotsHuoWuID:(NSString*)products BallotsJiaGe:(NSString*)amount BallotsHuoWuMing:(NSString*)productName BallotsDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface BoothBallotsControlMiguel : NSObject
@interface ChargedLadenControlVaults : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const ClassLadenExitNotificationJupiter;
extern NSString * const IraqiLadenLoginNotificationDeeply;
extern NSString * const VirginLadenErrorNotificationKeygen;
@interface ChargedLadenHuiTiaoNotificationVaults : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface ClassLadenAllManagerJupiter : NSObject
{
NSString* LadenAPPID_;
NSString* LadenAPPKEY_;
NSString* LadenInviterCode_;
}
@property(strong) NSMutableArray* LadenList;
@property bool LadenGeiWoHuaQianBa;
+ (ClassLadenAllManagerJupiter *)BuddyLadenInstanceDawson;
- (void)GrenadaLadenChuShiHuaLortab;
- (void)KilledLadenDengLuDigit:(NSString *)LadenAPPID : (NSString *)LadenAPPKEY : (UIViewController *)controller;
- (void)EmilyLadenYangShiResults:(NSString*)LadenLeiXing;
- (void)EmilyLadenUrlResults:(NSString*)LadenUrl;
- (void)LadenQuery: (NSString *)LadenFuWuQiID : (NSString *)LadenNickName : (NSNumber *)LadenAmount : (NSString *)LadenCallBack : (UIViewController *)controller : (NSString *)LadenServerName;
- (void)LadenQueryOperation:(UIViewController*)controll LadenHuoWuID:(NSString*)products LadenJiaGe:(NSString*)amount LadenHuoWuMing:(NSString*)productName LadenDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface CelloBallotsHaiBaoJuheDGLoggerBench : NSObject
@interface ClassLadenHaiBaoJuheDGLoggerJupiter : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface BecomeHaiBaoJuheUtilsSwansea : NSObject
@interface ElementHaiBaoJuheUtilsCalcium : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) BallotsHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) LadenHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)FindscreateGzyazfUrlExpress;
+(NSString *)IraqicreateGzyazfUrlDeeply;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "TelecomBallotsInformationAnnoyed.h"
#import "GrenadaLadenInformationLortab.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface BecomeBallotsMainSwansea : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface ElementLadenMainCalcium : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webBallotsView_;
WKWebView *webLadenView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL BallotsYouYuanJiao;
@property(assign) BOOL LadenYouYuanJiao;
- (void)BallotsSettingBallotsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BallotsInitWebView;
- (void)LadenSettingLadenView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)LadenInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
@interface FindsBallotsControlExpress : NSObject
@interface EmilyLadenControlResults : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface FutunaBallotsInformationJMGlenn : NSObject
@interface EmilyLadenInformationJMResults : NSObject
+(NSString *)BallotsJM:(NSString *)jm;
+(NSString *)LadenJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface FleeceBallotsControlAngus : NSObject
@interface GradedLadenControlArthur : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface TelecomBallotsInformationAnnoyed : NSObject
@interface GrenadaLadenInformationLortab : NSObject
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
@property(retain,nonatomic) NSString *birthday;
+ (TelecomBallotsInformationAnnoyed *)getInstance;
+ (GrenadaLadenInformationLortab *)getInstance;
@end
......
#import "CentreBallotsHaiBaoJuheBaseModelClosed.h"
@interface HaiBaoJuheCreateOrderInfo : CentreBallotsHaiBaoJuheBaseModelClosed
#import "VirginLadenHaiBaoJuheBaseModelKeygen.h"
@interface HaiBaoJuheCreateOrderInfo : VirginLadenHaiBaoJuheBaseModelKeygen
@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 *) BallotsHaiBaoJuheGetTsign ;
- (NSString *) BallotsHaiBaoJuheGetTimestamp ;
- (NSString *) LadenHaiBaoJuheGetTsign ;
- (NSString *) LadenHaiBaoJuheGetTimestamp ;
@end
......
#import "CentreBallotsHaiBaoJuheBaseModelClosed.h"
@interface HaiBaoJuheLoginInfo : CentreBallotsHaiBaoJuheBaseModelClosed
#import "VirginLadenHaiBaoJuheBaseModelKeygen.h"
@interface HaiBaoJuheLoginInfo : VirginLadenHaiBaoJuheBaseModelKeygen
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// BallotsHaiBaoJuheReportInfo.h
// LadenHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "CentreBallotsHaiBaoJuheBaseModelClosed.h"
@interface HaiBaoJuheReportInfo : CentreBallotsHaiBaoJuheBaseModelClosed
#import "VirginLadenHaiBaoJuheBaseModelKeygen.h"
@interface HaiBaoJuheReportInfo : VirginLadenHaiBaoJuheBaseModelKeygen
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -9,7 +9,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* BallotsList;
@property(strong) NSMutableArray* LadenList;
@property BOOL isAppleGzyazfing;
......
......@@ -2,14 +2,14 @@
#import "HaiBaoRealNameVerifyCallback.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "BridalHaiBaoJuheCheckerTrails.h"
#import "TripodHaiBaoJuheCheckerRoyal.h"
#import "Interface.h"
#import "FindsHaiBaoJuheNotificationExpress.h"
#import "FindsHaiBaoJuheGzyazfInfoExpress.h"
#import "IraqiHaiBaoJuheNotificationDeeply.h"
#import "IraqiHaiBaoJuheGzyazfInfoDeeply.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "FindsHaiBaoJuheConfigExpress.h"
#import "BecomeHaiBaoJuheUtilsSwansea.h"
#import "IraqiHaiBaoJuheConfigDeeply.h"
#import "ElementHaiBaoJuheUtilsCalcium.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <UIKit/UIKit.h>
@interface HandfulBallotsIAPHelperControlLehigh : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BallotsDingDanHao;
@property(nonatomic,strong) NSDictionary* BallotsHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BallotsHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BallotsHuoWuLieBiaoView;
- (void)BallotsHuaQianView:(UIViewController*)controller BallotsHuoWuD:(NSString*)products BallotsQian:(NSString*)amount BallotsHuoWuMing:(NSString*)productName BallotsDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface FindsHaiBaoJuheConfigExpress : NSObject
@interface IraqiHaiBaoJuheConfigDeeply : 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;
+ (FindsHaiBaoJuheConfigExpress *)CentregetInstanceClosed;
+ (IraqiHaiBaoJuheConfigDeeply *)VirgingetInstanceKeygen;
- (void) loadFile:(NSString *) fileName;
- (NSString *)CellogetValueByKeyBench:(NSString *) key;
- (NSString *)ClassgetValueByKeyJupiter:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "CentreBallotsHaiBaoJuheBaseModelClosed.h"
@interface FindsHaiBaoJuheGzyazfInfoExpress : CentreBallotsHaiBaoJuheBaseModelClosed
#import "VirginLadenHaiBaoJuheBaseModelKeygen.h"
@interface IraqiHaiBaoJuheGzyazfInfoDeeply : VirginLadenHaiBaoJuheBaseModelKeygen
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// FindsHaiBaoJuheNotificationExpress.h
// IraqiHaiBaoJuheNotificationDeeply.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -14,12 +14,13 @@ extern NSString * const _create_order_notification; /**< */
/**
应用支持的方向
*/
typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
HaiBaoJuheSDKNotificationLogin = 1,//登录
HaiBaoJuheSDKNotificationLogout,//注销
HaiBaoJuheSDKNotificationGzyazf,//支付完成
HaiBaoJuheSDKNotificationPause,//暂停退出
HaiBaoJuheSDKNotificationGzyazf,//内部使用
HaiBaoJuheSDKNotificationRole,//创建角色
HaiBaoJuheSDKNotificationInitSDK,//初始化SDK
HaiBaoJuheSDKNotificationSwitchAccount,//切换账号
......@@ -28,7 +29,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface FindsHaiBaoJuheNotificationExpress : NSObject
@interface IraqiHaiBaoJuheNotificationDeeply : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface FutunaBallotsControlGlenn : NSObject
@interface IraqiLadenControlDeeply : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface ManiaBallotsControlBrain : NSObject
@interface KilledLadenControlDigit : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "FindsHaiBaoJuheNotificationExpress.h"
#import "IraqiHaiBaoJuheNotificationDeeply.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "FindsHaiBaoJuheGzyazfInfoExpress.h"
#import "IraqiHaiBaoJuheGzyazfInfoDeeply.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface BridalHaiBaoJuheCheckerTrails : NSObject<HaiBaoJuheSDKDelegate>
@interface TripodHaiBaoJuheCheckerRoyal : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (BridalHaiBaoJuheCheckerTrails *)ManiagetInstanceBrain;
+ (TripodHaiBaoJuheCheckerRoyal *)GradedgetInstanceArthur;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) BallotsHaiBaoJuhereportOpen;
- (void) BallotsHaiBaoJuhereportSDKOpen;
- (void) BallotsHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) LadenHaiBaoJuhereportOpen;
- (void) LadenHaiBaoJuhereportSDKOpen;
- (void) LadenHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) BallotsHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) LadenHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) BallotsHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) LadenHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface BridalBallotsLocationTrails : NSObject
@interface TripodLadenLocationRoyal : NSObject
+ (NSString *)BallotsSKCloudServiceSetupOptionsKey;
+ (NSString *)LadenSKCloudServiceSetupOptionsKey;
@end
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface CentreBallotsEncryptToolClosed : NSObject
@interface VirginLadenEncryptToolKeygen : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface CentreBallotsHaiBaoJuheBaseModelClosed : NSObject
@interface VirginLadenHaiBaoJuheBaseModelKeygen : NSObject
- (NSString *) BallotsHaiBaoJuheObjectToJsonString;
- (NSString *) LadenHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/CelloBallotsAllManagerBench.h"
#import "HaiBaoJuheSDK/BoothBallotsHuiTiaoNotificationMiguel.h"
#import "HaiBaoJuheSDK/TelecomBallotsInformationAnnoyed.h"
#import "HaiBaoJuheSDK/ClassLadenAllManagerJupiter.h"
#import "HaiBaoJuheSDK/ChargedLadenHuiTiaoNotificationVaults.h"
#import "HaiBaoJuheSDK/GrenadaLadenInformationLortab.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *BallotsAppId;
NSString *BallotsAppKey;
NSString *BallotsLeakOrderUrl;
NSString *LadenAppId;
NSString *LadenAppKey;
NSString *LadenLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[FindsHaiBaoJuheConfigExpress CentregetInstanceClosed];
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh]TelecomBallotsChuShiHuaAnnoyed];
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh]FutunaBallotsYangShiGlenn:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:FindsBallotsLoginNotificationExpress object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BallotsToolCallBack" object:nil];
[IraqiHaiBaoJuheConfigDeeply VirgingetInstanceKeygen];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson]GrenadaLadenChuShiHuaLortab];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson]EmilyLadenYangShiResults:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:IraqiLadenLoginNotificationDeeply object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"LadenToolCallBack" object:nil];
[[BridalHaiBaoJuheCheckerTrails ManiagetInstanceBrain] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[TripodHaiBaoJuheCheckerRoyal GradedgetInstanceArthur] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[FindsHaiBaoJuheConfigExpress CentregetInstanceClosed] CellogetValueByKeyBench:@"gamechannelid"];
NSString* channelId = [[IraqiHaiBaoJuheConfigDeeply VirgingetInstanceKeygen] ClassgetValueByKeyJupiter:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *BallotsLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
BallotsAppId = [[FindsHaiBaoJuheConfigExpress CentregetInstanceClosed] CellogetValueByKeyBench:@"APP_ID"];
BallotsAppKey =[[FindsHaiBaoJuheConfigExpress CentregetInstanceClosed] CellogetValueByKeyBench:@"APP_KEY"];
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh]FleeceBallotsDengLuAngus:BallotsAppId :BallotsAppKey :self.controller];
LadenAppId = [[IraqiHaiBaoJuheConfigDeeply VirgingetInstanceKeygen] ClassgetValueByKeyJupiter:@"APP_ID"];
LadenAppKey =[[IraqiHaiBaoJuheConfigDeeply VirgingetInstanceKeygen] ClassgetValueByKeyJupiter:@"APP_KEY"];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson]KilledLadenDengLuDigit:LadenAppId :LadenAppKey :self.controller];
}
......@@ -50,10 +50,10 @@ NSString *BallotsLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[TelecomBallotsInformationAnnoyed getInstance]openId];
loginInfo.sign = [[TelecomBallotsInformationAnnoyed getInstance] token];
loginInfo.timestamp = [[TelecomBallotsInformationAnnoyed getInstance] timestamp];
NSString *birthday = [[TelecomBallotsInformationAnnoyed getInstance] birthday];
loginInfo.openId = [[GrenadaLadenInformationLortab getInstance]openId];
loginInfo.sign = [[GrenadaLadenInformationLortab getInstance] token];
loginInfo.timestamp = [[GrenadaLadenInformationLortab getInstance] timestamp];
NSString *birthday = [[GrenadaLadenInformationLortab getInstance] birthday];
self.birthday = birthday;
if([birthday length] == 8){//已认证
self.code = ALREADY_VERIFY;
......@@ -61,7 +61,7 @@ NSString *BallotsLeakOrderUrl;
self.code = NO_VERIFY_HANDLER;
};
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[BridalHaiBaoJuheCheckerTrails ManiagetInstanceBrain] startCheck:loginInfo];
[[TripodHaiBaoJuheCheckerRoyal GradedgetInstanceArthur] startCheck:loginInfo];
});
}
......@@ -84,7 +84,7 @@ NSString *BallotsLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"BallotsToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"LadenToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -103,10 +103,10 @@ NSString *BallotsLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BallotsLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LadenLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[BridalHaiBaoJuheCheckerTrails ManiagetInstanceBrain] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[TripodHaiBaoJuheCheckerRoyal GradedgetInstanceArthur] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -124,11 +124,11 @@ NSString *BallotsLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
BallotsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[BecomeHaiBaoJuheUtilsSwansea FindscreateGzyazfUrlExpress],
LadenLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ElementHaiBaoJuheUtilsCalcium IraqicreateGzyazfUrlDeeply],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:BallotsLeakOrderUrl forKey:@"lastBallotsLeakOrderUrl"];
[userDefaults setObject:LadenLeakOrderUrl forKey:@"lastLadenLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -138,7 +138,7 @@ NSString *BallotsLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BallotsLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LadenLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -148,8 +148,8 @@ NSString *BallotsLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
BallotsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[BecomeHaiBaoJuheUtilsSwansea FindscreateGzyazfUrlExpress],
LadenLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ElementHaiBaoJuheUtilsCalcium IraqicreateGzyazfUrlDeeply],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -194,7 +194,7 @@ NSString *BallotsLeakOrderUrl;
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[BridalHaiBaoJuheCheckerTrails ManiagetInstanceBrain] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[TripodHaiBaoJuheCheckerRoyal GradedgetInstanceArthur] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -220,12 +220,12 @@ NSString *BallotsLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastBallotsLeakOrderUrl = [userDefaults objectForKey:@"lastBallotsLeakOrderUrl"];
NSString* lastLadenLeakOrderUrl = [userDefaults objectForKey:@"lastLadenLeakOrderUrl"];
NSString* result;
if (lastBallotsLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastBallotsLeakOrderUrl :receiptDic];
if (lastLadenLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastLadenLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[BecomeHaiBaoJuheUtilsSwansea FindscreateGzyazfUrlExpress] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[ElementHaiBaoJuheUtilsCalcium IraqicreateGzyazfUrlDeeply] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -247,7 +247,7 @@ NSString *BallotsLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
FindsHaiBaoJuheGzyazfInfoExpress *payInfo = [notification object];
IraqiHaiBaoJuheGzyazfInfoDeeply *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -261,14 +261,14 @@ NSString *BallotsLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh] BallotsQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson] LadenQuery: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];
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh] BallotsQueryOperation:self.controller BallotsHuoWuID:products BallotsJiaGe:[payInfo postAmount] BallotsHuoWuMing:[payInfo productName] BallotsDingDanHao:queryId];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson] LadenQueryOperation:self.controller LadenHuoWuID:products LadenJiaGe:[payInfo postAmount] LadenHuoWuMing:[payInfo productName] LadenDingDanHao:queryId];
}
}
......
{"payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 575, "sdkSimpleName": "apple_jingyou", "APP_ID": "5ea2839308b2c329e7942218", "gamechannelid": "DHFJY_IOS05", "APP_KEY": "3cc1dfaa439541844a83cb0b83ba11d1", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "1", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "com.jygame.qiansui", "descode": "guogebao", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "dcqs_iOS"}
{"payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 607, "sdkSimpleName": "goowei_ios", "APP_ID": "5e5879a0a0fab75c906a2879", "gamechannelid": "", "APP_KEY": "9c53a5ede44d73a5608fafe959d0d79d", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "1", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "com.gongm.shenhai", "descode": "", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "1122"}
#import <Foundation/Foundation.h>
extern NSString * const CelloBallotsExitNotificationBench;
extern NSString * const FindsBallotsLoginNotificationExpress;
extern NSString * const CentreBallotsErrorNotificationClosed;
@interface BoothBallotsHuiTiaoNotificationMiguel : NSObject
@end
#import <UIKit/UIKit.h>
@interface BuddyLadenIAPHelperControlDawson : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* LadenDingDanHao;
@property(nonatomic,strong) NSDictionary* LadenHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* LadenHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *LadenHuoWuLieBiaoView;
- (void)LadenHuaQianView:(UIViewController*)controller LadenHuoWuD:(NSString*)products LadenQian:(NSString*)amount LadenHuoWuMing:(NSString*)productName LadenDingDanHao:(NSString*)DingDanHao;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface CelloBallotsAllManagerBench : NSObject
{
NSString* BallotsAPPID_;
NSString* BallotsAPPKEY_;
NSString* BallotsInviterCode_;
}
@property(strong) NSMutableArray* BallotsList;
@property bool BallotsGeiWoHuaQianBa;
+ (CelloBallotsAllManagerBench *)HandfulBallotsInstanceLehigh;
- (void)TelecomBallotsChuShiHuaAnnoyed;
- (void)FleeceBallotsDengLuAngus:(NSString *)BallotsAPPID : (NSString *)BallotsAPPKEY : (UIViewController *)controller;
- (void)FutunaBallotsYangShiGlenn:(NSString*)BallotsLeiXing;
- (void)FutunaBallotsUrlGlenn:(NSString*)BallotsUrl;
- (void)BallotsQuery: (NSString *)BallotsFuWuQiID : (NSString *)BallotsNickName : (NSNumber *)BallotsAmount : (NSString *)BallotsCallBack : (UIViewController *)controller : (NSString *)BallotsServerName;
- (void)BallotsQueryOperation:(UIViewController*)controll BallotsHuoWuID:(NSString*)products BallotsJiaGe:(NSString*)amount BallotsHuoWuMing:(NSString*)productName BallotsDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface BoothBallotsControlMiguel : NSObject
@interface ChargedLadenControlVaults : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const ClassLadenExitNotificationJupiter;
extern NSString * const IraqiLadenLoginNotificationDeeply;
extern NSString * const VirginLadenErrorNotificationKeygen;
@interface ChargedLadenHuiTiaoNotificationVaults : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface ClassLadenAllManagerJupiter : NSObject
{
NSString* LadenAPPID_;
NSString* LadenAPPKEY_;
NSString* LadenInviterCode_;
}
@property(strong) NSMutableArray* LadenList;
@property bool LadenGeiWoHuaQianBa;
+ (ClassLadenAllManagerJupiter *)BuddyLadenInstanceDawson;
- (void)GrenadaLadenChuShiHuaLortab;
- (void)KilledLadenDengLuDigit:(NSString *)LadenAPPID : (NSString *)LadenAPPKEY : (UIViewController *)controller;
- (void)EmilyLadenYangShiResults:(NSString*)LadenLeiXing;
- (void)EmilyLadenUrlResults:(NSString*)LadenUrl;
- (void)LadenQuery: (NSString *)LadenFuWuQiID : (NSString *)LadenNickName : (NSNumber *)LadenAmount : (NSString *)LadenCallBack : (UIViewController *)controller : (NSString *)LadenServerName;
- (void)LadenQueryOperation:(UIViewController*)controll LadenHuoWuID:(NSString*)products LadenJiaGe:(NSString*)amount LadenHuoWuMing:(NSString*)productName LadenDingDanHao:(NSString*) DingDanHao;
@end
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface CelloBallotsHaiBaoJuheDGLoggerBench : NSObject
@interface ClassLadenHaiBaoJuheDGLoggerJupiter : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface BecomeHaiBaoJuheUtilsSwansea : NSObject
@interface ElementHaiBaoJuheUtilsCalcium : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) BallotsHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) LadenHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)FindscreateGzyazfUrlExpress;
+(NSString *)IraqicreateGzyazfUrlDeeply;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "TelecomBallotsInformationAnnoyed.h"
#import "GrenadaLadenInformationLortab.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface BecomeBallotsMainSwansea : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface ElementLadenMainCalcium : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webBallotsView_;
WKWebView *webLadenView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL BallotsYouYuanJiao;
@property(assign) BOOL LadenYouYuanJiao;
- (void)BallotsSettingBallotsView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)BallotsInitWebView;
- (void)LadenSettingLadenView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)LadenInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <Foundation/Foundation.h>
@interface FindsBallotsControlExpress : NSObject
@interface EmilyLadenControlResults : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface FutunaBallotsInformationJMGlenn : NSObject
@interface EmilyLadenInformationJMResults : NSObject
+(NSString *)BallotsJM:(NSString *)jm;
+(NSString *)LadenJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface FleeceBallotsControlAngus : NSObject
@interface GradedLadenControlArthur : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface TelecomBallotsInformationAnnoyed : NSObject
@interface GrenadaLadenInformationLortab : NSObject
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
@property(retain,nonatomic) NSString *birthday;
+ (TelecomBallotsInformationAnnoyed *)getInstance;
+ (GrenadaLadenInformationLortab *)getInstance;
@end
......
#import "CentreBallotsHaiBaoJuheBaseModelClosed.h"
@interface HaiBaoJuheCreateOrderInfo : CentreBallotsHaiBaoJuheBaseModelClosed
#import "VirginLadenHaiBaoJuheBaseModelKeygen.h"
@interface HaiBaoJuheCreateOrderInfo : VirginLadenHaiBaoJuheBaseModelKeygen
@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 *) BallotsHaiBaoJuheGetTsign ;
- (NSString *) BallotsHaiBaoJuheGetTimestamp ;
- (NSString *) LadenHaiBaoJuheGetTsign ;
- (NSString *) LadenHaiBaoJuheGetTimestamp ;
@end
......
#import "CentreBallotsHaiBaoJuheBaseModelClosed.h"
@interface HaiBaoJuheLoginInfo : CentreBallotsHaiBaoJuheBaseModelClosed
#import "VirginLadenHaiBaoJuheBaseModelKeygen.h"
@interface HaiBaoJuheLoginInfo : VirginLadenHaiBaoJuheBaseModelKeygen
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// BallotsHaiBaoJuheReportInfo.h
// LadenHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "CentreBallotsHaiBaoJuheBaseModelClosed.h"
@interface HaiBaoJuheReportInfo : CentreBallotsHaiBaoJuheBaseModelClosed
#import "VirginLadenHaiBaoJuheBaseModelKeygen.h"
@interface HaiBaoJuheReportInfo : VirginLadenHaiBaoJuheBaseModelKeygen
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -9,7 +9,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* BallotsList;
@property(strong) NSMutableArray* LadenList;
@property BOOL isAppleGzyazfing;
......
......@@ -2,14 +2,14 @@
#import "HaiBaoRealNameVerifyCallback.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "BridalHaiBaoJuheCheckerTrails.h"
#import "TripodHaiBaoJuheCheckerRoyal.h"
#import "Interface.h"
#import "FindsHaiBaoJuheNotificationExpress.h"
#import "FindsHaiBaoJuheGzyazfInfoExpress.h"
#import "IraqiHaiBaoJuheNotificationDeeply.h"
#import "IraqiHaiBaoJuheGzyazfInfoDeeply.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "FindsHaiBaoJuheConfigExpress.h"
#import "BecomeHaiBaoJuheUtilsSwansea.h"
#import "IraqiHaiBaoJuheConfigDeeply.h"
#import "ElementHaiBaoJuheUtilsCalcium.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <UIKit/UIKit.h>
@interface HandfulBallotsIAPHelperControlLehigh : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* BallotsDingDanHao;
@property(nonatomic,strong) NSDictionary* BallotsHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* BallotsHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *BallotsHuoWuLieBiaoView;
- (void)BallotsHuaQianView:(UIViewController*)controller BallotsHuoWuD:(NSString*)products BallotsQian:(NSString*)amount BallotsHuoWuMing:(NSString*)productName BallotsDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface FindsHaiBaoJuheConfigExpress : NSObject
@interface IraqiHaiBaoJuheConfigDeeply : 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;
+ (FindsHaiBaoJuheConfigExpress *)CentregetInstanceClosed;
+ (IraqiHaiBaoJuheConfigDeeply *)VirgingetInstanceKeygen;
- (void) loadFile:(NSString *) fileName;
- (NSString *)CellogetValueByKeyBench:(NSString *) key;
- (NSString *)ClassgetValueByKeyJupiter:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "CentreBallotsHaiBaoJuheBaseModelClosed.h"
@interface FindsHaiBaoJuheGzyazfInfoExpress : CentreBallotsHaiBaoJuheBaseModelClosed
#import "VirginLadenHaiBaoJuheBaseModelKeygen.h"
@interface IraqiHaiBaoJuheGzyazfInfoDeeply : VirginLadenHaiBaoJuheBaseModelKeygen
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// FindsHaiBaoJuheNotificationExpress.h
// IraqiHaiBaoJuheNotificationDeeply.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -14,12 +14,13 @@ extern NSString * const _create_order_notification; /**< */
/**
应用支持的方向
*/
typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
HaiBaoJuheSDKNotificationLogin = 1,//登录
HaiBaoJuheSDKNotificationLogout,//注销
HaiBaoJuheSDKNotificationGzyazf,//支付完成
HaiBaoJuheSDKNotificationPause,//暂停退出
HaiBaoJuheSDKNotificationGzyazf,//内部使用
HaiBaoJuheSDKNotificationRole,//创建角色
HaiBaoJuheSDKNotificationInitSDK,//初始化SDK
HaiBaoJuheSDKNotificationSwitchAccount,//切换账号
......@@ -28,7 +29,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface FindsHaiBaoJuheNotificationExpress : NSObject
@interface IraqiHaiBaoJuheNotificationDeeply : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface FutunaBallotsControlGlenn : NSObject
@interface IraqiLadenControlDeeply : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface ManiaBallotsControlBrain : NSObject
@interface KilledLadenControlDigit : NSObject
- (void)initBallotsInstance;
- (void)initLadenInstance;
- (void) BallotsStartGo;
- (void) LadenStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "FindsHaiBaoJuheNotificationExpress.h"
#import "IraqiHaiBaoJuheNotificationDeeply.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "FindsHaiBaoJuheGzyazfInfoExpress.h"
#import "IraqiHaiBaoJuheGzyazfInfoDeeply.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface BridalHaiBaoJuheCheckerTrails : NSObject<HaiBaoJuheSDKDelegate>
@interface TripodHaiBaoJuheCheckerRoyal : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (BridalHaiBaoJuheCheckerTrails *)ManiagetInstanceBrain;
+ (TripodHaiBaoJuheCheckerRoyal *)GradedgetInstanceArthur;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) BallotsHaiBaoJuhereportOpen;
- (void) BallotsHaiBaoJuhereportSDKOpen;
- (void) BallotsHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) LadenHaiBaoJuhereportOpen;
- (void) LadenHaiBaoJuhereportSDKOpen;
- (void) LadenHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) BallotsHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) LadenHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) BallotsHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) LadenHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface BridalBallotsLocationTrails : NSObject
@interface TripodLadenLocationRoyal : NSObject
+ (NSString *)BallotsSKCloudServiceSetupOptionsKey;
+ (NSString *)LadenSKCloudServiceSetupOptionsKey;
@end
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface CentreBallotsEncryptToolClosed : NSObject
@interface VirginLadenEncryptToolKeygen : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface CentreBallotsHaiBaoJuheBaseModelClosed : NSObject
@interface VirginLadenHaiBaoJuheBaseModelKeygen : NSObject
- (NSString *) BallotsHaiBaoJuheObjectToJsonString;
- (NSString *) LadenHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/CelloBallotsAllManagerBench.h"
#import "HaiBaoJuheSDK/BoothBallotsHuiTiaoNotificationMiguel.h"
#import "HaiBaoJuheSDK/TelecomBallotsInformationAnnoyed.h"
#import "HaiBaoJuheSDK/ClassLadenAllManagerJupiter.h"
#import "HaiBaoJuheSDK/ChargedLadenHuiTiaoNotificationVaults.h"
#import "HaiBaoJuheSDK/GrenadaLadenInformationLortab.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *BallotsAppId;
NSString *BallotsAppKey;
NSString *BallotsLeakOrderUrl;
NSString *LadenAppId;
NSString *LadenAppKey;
NSString *LadenLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[FindsHaiBaoJuheConfigExpress CentregetInstanceClosed];
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh]TelecomBallotsChuShiHuaAnnoyed];
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh]FutunaBallotsYangShiGlenn:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:FindsBallotsLoginNotificationExpress object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"BallotsToolCallBack" object:nil];
[IraqiHaiBaoJuheConfigDeeply VirgingetInstanceKeygen];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson]GrenadaLadenChuShiHuaLortab];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson]EmilyLadenYangShiResults:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:IraqiLadenLoginNotificationDeeply object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"LadenToolCallBack" object:nil];
[[BridalHaiBaoJuheCheckerTrails ManiagetInstanceBrain] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[TripodHaiBaoJuheCheckerRoyal GradedgetInstanceArthur] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[FindsHaiBaoJuheConfigExpress CentregetInstanceClosed] CellogetValueByKeyBench:@"gamechannelid"];
NSString* channelId = [[IraqiHaiBaoJuheConfigDeeply VirgingetInstanceKeygen] ClassgetValueByKeyJupiter:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *BallotsLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
BallotsAppId = [[FindsHaiBaoJuheConfigExpress CentregetInstanceClosed] CellogetValueByKeyBench:@"APP_ID"];
BallotsAppKey =[[FindsHaiBaoJuheConfigExpress CentregetInstanceClosed] CellogetValueByKeyBench:@"APP_KEY"];
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh]FleeceBallotsDengLuAngus:BallotsAppId :BallotsAppKey :self.controller];
LadenAppId = [[IraqiHaiBaoJuheConfigDeeply VirgingetInstanceKeygen] ClassgetValueByKeyJupiter:@"APP_ID"];
LadenAppKey =[[IraqiHaiBaoJuheConfigDeeply VirgingetInstanceKeygen] ClassgetValueByKeyJupiter:@"APP_KEY"];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson]KilledLadenDengLuDigit:LadenAppId :LadenAppKey :self.controller];
}
......@@ -50,10 +50,10 @@ NSString *BallotsLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[TelecomBallotsInformationAnnoyed getInstance]openId];
loginInfo.sign = [[TelecomBallotsInformationAnnoyed getInstance] token];
loginInfo.timestamp = [[TelecomBallotsInformationAnnoyed getInstance] timestamp];
NSString *birthday = [[TelecomBallotsInformationAnnoyed getInstance] birthday];
loginInfo.openId = [[GrenadaLadenInformationLortab getInstance]openId];
loginInfo.sign = [[GrenadaLadenInformationLortab getInstance] token];
loginInfo.timestamp = [[GrenadaLadenInformationLortab getInstance] timestamp];
NSString *birthday = [[GrenadaLadenInformationLortab getInstance] birthday];
self.birthday = birthday;
if([birthday length] == 8){//已认证
self.code = ALREADY_VERIFY;
......@@ -61,7 +61,7 @@ NSString *BallotsLeakOrderUrl;
self.code = NO_VERIFY_HANDLER;
};
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[BridalHaiBaoJuheCheckerTrails ManiagetInstanceBrain] startCheck:loginInfo];
[[TripodHaiBaoJuheCheckerRoyal GradedgetInstanceArthur] startCheck:loginInfo];
});
}
......@@ -84,7 +84,7 @@ NSString *BallotsLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"BallotsToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"LadenToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -103,10 +103,10 @@ NSString *BallotsLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BallotsLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LadenLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[BridalHaiBaoJuheCheckerTrails ManiagetInstanceBrain] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[TripodHaiBaoJuheCheckerRoyal GradedgetInstanceArthur] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -124,11 +124,11 @@ NSString *BallotsLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
BallotsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[BecomeHaiBaoJuheUtilsSwansea FindscreateGzyazfUrlExpress],
LadenLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ElementHaiBaoJuheUtilsCalcium IraqicreateGzyazfUrlDeeply],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:BallotsLeakOrderUrl forKey:@"lastBallotsLeakOrderUrl"];
[userDefaults setObject:LadenLeakOrderUrl forKey:@"lastLadenLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -138,7 +138,7 @@ NSString *BallotsLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:BallotsLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:LadenLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -148,8 +148,8 @@ NSString *BallotsLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
BallotsLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[BecomeHaiBaoJuheUtilsSwansea FindscreateGzyazfUrlExpress],
LadenLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ElementHaiBaoJuheUtilsCalcium IraqicreateGzyazfUrlDeeply],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -194,7 +194,7 @@ NSString *BallotsLeakOrderUrl;
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[BridalHaiBaoJuheCheckerTrails ManiagetInstanceBrain] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[TripodHaiBaoJuheCheckerRoyal GradedgetInstanceArthur] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -220,12 +220,12 @@ NSString *BallotsLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastBallotsLeakOrderUrl = [userDefaults objectForKey:@"lastBallotsLeakOrderUrl"];
NSString* lastLadenLeakOrderUrl = [userDefaults objectForKey:@"lastLadenLeakOrderUrl"];
NSString* result;
if (lastBallotsLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastBallotsLeakOrderUrl :receiptDic];
if (lastLadenLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastLadenLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[BecomeHaiBaoJuheUtilsSwansea FindscreateGzyazfUrlExpress] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[ElementHaiBaoJuheUtilsCalcium IraqicreateGzyazfUrlDeeply] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -247,7 +247,7 @@ NSString *BallotsLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
FindsHaiBaoJuheGzyazfInfoExpress *payInfo = [notification object];
IraqiHaiBaoJuheGzyazfInfoDeeply *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -261,14 +261,14 @@ NSString *BallotsLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh] BallotsQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson] LadenQuery: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];
[[CelloBallotsAllManagerBench HandfulBallotsInstanceLehigh] BallotsQueryOperation:self.controller BallotsHuoWuID:products BallotsJiaGe:[payInfo postAmount] BallotsHuoWuMing:[payInfo productName] BallotsDingDanHao:queryId];
[[ClassLadenAllManagerJupiter BuddyLadenInstanceDawson] LadenQueryOperation:self.controller LadenHuoWuID:products LadenJiaGe:[payInfo postAmount] LadenHuoWuMing:[payInfo productName] LadenDingDanHao:queryId];
}
}
......
{"payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 575, "sdkSimpleName": "apple_jingyou", "APP_ID": "5ea2839308b2c329e7942218", "gamechannelid": "DHFJY_IOS05", "APP_KEY": "3cc1dfaa439541844a83cb0b83ba11d1", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "1", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "com.jygame.qiansui", "descode": "guogebao", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "dcqs_iOS"}
{"payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 607, "sdkSimpleName": "goowei_ios", "APP_ID": "5e5879a0a0fab75c906a2879", "gamechannelid": "", "APP_KEY": "9c53a5ede44d73a5608fafe959d0d79d", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "1", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "com.gongm.shenhai", "descode": "", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "1122"}