xuguohong

diguo

Showing 144 changed files with 1816 additions and 333 deletions
No preview for this file type
......@@ -7,9 +7,9 @@
objects = {
/* Begin PBXBuildFile section */
114D961524907F4400FFCEDF /* dyjxswx.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 114D961224907F4400FFCEDF /* dyjxswx.framework */; };
114D961624907F4400FFCEDF /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 114D961424907F4400FFCEDF /* SDKInterface.m */; };
1198207824454D980087A9D7 /* dyjxswx in Resources */ = {isa = PBXBuildFile; fileRef = 1198207724454D980087A9D7 /* dyjxswx */; };
118D1015249B264C0019F93C /* dgzz.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 118D1014249B264C0019F93C /* dgzz.framework */; };
1198207824454D980087A9D7 /* dgzz in Resources */ = {isa = PBXBuildFile; fileRef = 1198207724454D980087A9D7 /* dgzz */; };
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; };
......@@ -57,10 +57,10 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
114D961224907F4400FFCEDF /* dyjxswx.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = dyjxswx.framework; path = poolsdk_file/poolsdk/dyjxswx.framework; sourceTree = "<group>"; };
114D961324907F4400FFCEDF /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
114D961424907F4400FFCEDF /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; };
1198207724454D980087A9D7 /* dyjxswx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dyjxswx; path = poolsdk_file/poolsdk/dyjxswx; sourceTree = "<group>"; };
118D1014249B264C0019F93C /* dgzz.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = dgzz.framework; path = poolsdk_file/poolsdk/dgzz.framework; sourceTree = "<group>"; };
1198207724454D980087A9D7 /* dgzz */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = dgzz; path = poolsdk_file/poolsdk/dgzz; 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>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
......@@ -98,9 +98,9 @@
files = (
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */,
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */,
118D1015249B264C0019F93C /* dgzz.framework in Frameworks */,
8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */,
8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */,
114D961524907F4400FFCEDF /* dyjxswx.framework in Frameworks */,
8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */,
8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */,
8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */,
......@@ -135,13 +135,13 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
1198207724454D980087A9D7 /* dyjxswx */,
1198207724454D980087A9D7 /* dgzz */,
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */,
845D181B1C8D778400F27EB9 /* Images.xcassets */,
845D181C1C8D778400F27EB9 /* Info.plist */,
114D961224907F4400FFCEDF /* dyjxswx.framework */,
114D961324907F4400FFCEDF /* SDKInterface.h */,
114D961424907F4400FFCEDF /* SDKInterface.m */,
118D1014249B264C0019F93C /* dgzz.framework */,
);
name = poolsdk;
sourceTree = "<group>";
......@@ -304,7 +304,7 @@
files = (
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */,
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */,
1198207824454D980087A9D7 /* dyjxswx in Resources */,
1198207824454D980087A9D7 /* dgzz in Resources */,
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
......@@ -489,10 +489,10 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = PNDD7Y396D;
DEVELOPMENT_TEAM = 57YMWX724S;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
......@@ -513,7 +513,7 @@
PRODUCT_BUNDLE_IDENTIFIER = com.youaitest.com;
PRODUCT_NAME = "接入DEMO";
PROVISIONING_PROFILE = "8e8ee19d-d19f-41ba-9a9d-108915ed5380";
PROVISIONING_PROFILE_SPECIFIER = dis;
PROVISIONING_PROFILE_SPECIFIER = dev0;
TARGETED_DEVICE_FAMILY = "1,2";
VALID_ARCHS = "arm64 armv7s";
};
......
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1130"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "&#x63a5;&#x5165;DEMO.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3CA01C1811BC00DA339D"
BuildableName = "DemoTests.xctest"
BlueprintName = "DemoTests"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "&#x63a5;&#x5165;DEMO.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "BB5F3C871C1811BC00DA339D"
BuildableName = "&#x63a5;&#x5165;DEMO.app"
BlueprintName = "Demo"
ReferencedContainer = "container:Demo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
......@@ -10,5 +10,18 @@
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>BB5F3C871C1811BC00DA339D</key>
<dict>
<key>primary</key>
<true/>
</dict>
<key>BB5F3CA01C1811BC00DA339D</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
......
......@@ -8,7 +8,7 @@
#import "AppDelegate.h"
#import "ViewController.h"
#import <dyjxswx/HaiBaoJuheSDK2.h>
#import <dgzz/HaiBaoJuheSDK2.h>
@interface AppDelegate ()
@end
......
......@@ -7,7 +7,7 @@
//
#import <UIKit/UIKit.h>
#import <dyjxswx/HaiBaoJuheSDK2.h>
#import <dgzz/HaiBaoJuheSDK2.h>
@interface MainViewController : UIViewController<HaiBaoJuheSdkRealNameCallBack>
@end
......
#import <dyjxswx/HaiBaoJuheSDK2.h>
#import "dgzz/HaiBaoJuheSDK2.h"
@interface SDKInterface : Interface
@end
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "dyjxswx/SilentMenusAllManagerSongs.h"
#import "dyjxswx/RatingsMenusHuiTiaoNotificationDense.h"
#import "dyjxswx/HannahMenusInformationChateau.h"
#import "dgzz/JackpotMoroccoAllManagerGloria.h"
#import "dgzz/TimorMoroccoHuiTiaoNotificationBallots.h"
#import "dgzz/BanquetMoroccoInformationCollege.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *MenusAppId;
NSString *MenusAppKey;
NSString *MenusLeakOrderUrl;
NSString *MoroccoAppId;
NSString *MoroccoAppKey;
NSString *MoroccoLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[ButterHaiBaoJuheConfigNested CommongetInstanceKinase];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei]HannahMenusChuShiHuaChateau];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei]BathsMenusYangShiZambia:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ButterMenusLoginNotificationNested object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MenusToolCallBack" object:nil];
[UnableHaiBaoJuheConfigMutant HarvardgetInstanceThrown];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored]BanquetMoroccoChuShiHuaCollege];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored]DevilMoroccoYangShiCrashes:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:UnableMoroccoLoginNotificationMutant object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MoroccoToolCallBack" object:nil];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[BlushHaiBaoJuheCheckerExports AllangetInstanceLonger] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"gamechannelid"];
NSString* channelId = [[UnableHaiBaoJuheConfigMutant HarvardgetInstanceThrown] JackpotgetValueByKeyGloria:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *MenusLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
MenusAppId = [[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"APP_ID"];
MenusAppKey =[[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"APP_KEY"];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei]OvensMenusDengLuMadonna:MenusAppId :MenusAppKey :self.controller];
MoroccoAppId = [[UnableHaiBaoJuheConfigMutant HarvardgetInstanceThrown] JackpotgetValueByKeyGloria:@"APP_ID"];
MoroccoAppKey =[[UnableHaiBaoJuheConfigMutant HarvardgetInstanceThrown] JackpotgetValueByKeyGloria:@"APP_KEY"];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored]MaximMoroccoDengLuRouter:MoroccoAppId :MoroccoAppKey :self.controller];
}
......@@ -50,10 +50,10 @@ NSString *MenusLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[HannahMenusInformationChateau getInstance]openId];
loginInfo.sign = [[HannahMenusInformationChateau getInstance] token];
loginInfo.timestamp = [[HannahMenusInformationChateau getInstance] timestamp];
NSString *birthday = [[HannahMenusInformationChateau getInstance] birthday];
loginInfo.openId = [[BanquetMoroccoInformationCollege getInstance]openId];
loginInfo.sign = [[BanquetMoroccoInformationCollege getInstance] token];
loginInfo.timestamp = [[BanquetMoroccoInformationCollege getInstance] timestamp];
NSString *birthday = [[BanquetMoroccoInformationCollege getInstance] birthday];
self.birthday = birthday;
if([birthday length] == 8){//已认证
self.code = ALREADY_VERIFY;
......@@ -61,7 +61,7 @@ NSString *MenusLeakOrderUrl;
self.code = NO_VERIFY_HANDLER;
};
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] startCheck:loginInfo];
[[BlushHaiBaoJuheCheckerExports AllangetInstanceLonger] startCheck:loginInfo];
});
}
......@@ -84,7 +84,7 @@ NSString *MenusLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"MenusToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"MoroccoToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -103,10 +103,10 @@ NSString *MenusLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MenusLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MoroccoLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[BlushHaiBaoJuheCheckerExports AllangetInstanceLonger] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -124,11 +124,11 @@ NSString *MenusLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
MenusLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested],
MoroccoLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[PrizesHaiBaoJuheUtilsOcean UnablecreateGzyazfUrlMutant],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:MenusLeakOrderUrl forKey:@"lastMenusLeakOrderUrl"];
[userDefaults setObject:MoroccoLeakOrderUrl forKey:@"lastMoroccoLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -138,7 +138,7 @@ NSString *MenusLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MenusLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MoroccoLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -148,8 +148,8 @@ NSString *MenusLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
MenusLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested],
MoroccoLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[PrizesHaiBaoJuheUtilsOcean UnablecreateGzyazfUrlMutant],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -194,7 +194,7 @@ NSString *MenusLeakOrderUrl;
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[BlushHaiBaoJuheCheckerExports AllangetInstanceLonger] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -220,12 +220,12 @@ NSString *MenusLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastMenusLeakOrderUrl = [userDefaults objectForKey:@"lastMenusLeakOrderUrl"];
NSString* lastMoroccoLeakOrderUrl = [userDefaults objectForKey:@"lastMoroccoLeakOrderUrl"];
NSString* result;
if (lastMenusLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastMenusLeakOrderUrl :receiptDic];
if (lastMoroccoLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastMoroccoLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[PrizesHaiBaoJuheUtilsOcean UnablecreateGzyazfUrlMutant] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -247,7 +247,7 @@ NSString *MenusLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
ButterHaiBaoJuheGzyazfInfoNested *payInfo = [notification object];
UnableHaiBaoJuheGzyazfInfoMutant *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -261,14 +261,14 @@ NSString *MenusLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei] MenusQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored] MoroccoQuery: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];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei] MenusQueryOperation:self.controller MenusHuoWuID:products MenusJiaGe:[payInfo postAmount] MenusHuoWuMing:[payInfo productName] MenusDingDanHao:queryId];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored] MoroccoQueryOperation:self.controller MoroccoHuoWuID:products MoroccoJiaGe:[payInfo postAmount] MoroccoHuoWuMing:[payInfo productName] MoroccoDingDanHao:queryId];
}
}
......
{"payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 607, "sdkSimpleName": "goowei_ios", "APP_ID": "5e967620a0fab72784fab56a", "gamechannelid": "", "APP_KEY": "818ee6976aae2b0e4378b2548878a53f", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "0", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "1", "descode": "0", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "ces"}
#import <Foundation/Foundation.h>
@interface BathsMenusControlZambia : NSObject
@interface AllanMoroccoControlLonger : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HannahMenusInformationChateau : NSObject
@interface BanquetMoroccoInformationCollege : NSObject
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
@property(retain,nonatomic) NSString *birthday;
+ (HannahMenusInformationChateau *)getInstance;
+ (BanquetMoroccoInformationCollege *)getInstance;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "ButterHaiBaoJuheNotificationNested.h"
#import "UnableHaiBaoJuheNotificationMutant.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "ButterHaiBaoJuheGzyazfInfoNested.h"
#import "UnableHaiBaoJuheGzyazfInfoMutant.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface HamasHaiBaoJuheCheckerMariner : NSObject<HaiBaoJuheSDKDelegate>
@interface BlushHaiBaoJuheCheckerExports : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (HamasHaiBaoJuheCheckerMariner *)PierregetInstanceTimber;
+ (BlushHaiBaoJuheCheckerExports *)AllangetInstanceLonger;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) MenusHaiBaoJuhereportOpen;
- (void) MenusHaiBaoJuhereportSDKOpen;
- (void) MenusHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) MoroccoHaiBaoJuhereportOpen;
- (void) MoroccoHaiBaoJuhereportSDKOpen;
- (void) MoroccoHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) MenusHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) MoroccoHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) MenusHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) MoroccoHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface HamasMenusLocationMariner : NSObject
@interface BlushMoroccoLocationExports : NSObject
+ (NSString *)MenusSKCloudServiceSetupOptionsKey;
+ (NSString *)MoroccoSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
@interface ButterMenusControlNested : NSObject
@interface DevilMoroccoControlCrashes : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface BathsMenusInformationJMZambia : NSObject
@interface DevilMoroccoInformationJMCrashes : NSObject
+(NSString *)MenusJM:(NSString *)jm;
+(NSString *)MoroccoJM:(NSString *)jm;
@end
......
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheCreateOrderInfo : CommonMenusHaiBaoJuheBaseModelKinase
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheCreateOrderInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@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 *) MenusHaiBaoJuheGetTsign ;
- (NSString *) MenusHaiBaoJuheGetTimestamp ;
- (NSString *) MoroccoHaiBaoJuheGetTsign ;
- (NSString *) MoroccoHaiBaoJuheGetTimestamp ;
@end
......
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheLoginInfo : CommonMenusHaiBaoJuheBaseModelKinase
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheLoginInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// MenusHaiBaoJuheReportInfo.h
// MoroccoHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheReportInfo : CommonMenusHaiBaoJuheBaseModelKinase
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheReportInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -9,7 +9,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* MenusList;
@property(strong) NSMutableArray* MoroccoList;
@property BOOL isAppleGzyazfing;
......
......@@ -2,14 +2,14 @@
#import "HaiBaoRealNameVerifyCallback.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "HamasHaiBaoJuheCheckerMariner.h"
#import "BlushHaiBaoJuheCheckerExports.h"
#import "Interface.h"
#import "ButterHaiBaoJuheNotificationNested.h"
#import "ButterHaiBaoJuheGzyazfInfoNested.h"
#import "UnableHaiBaoJuheNotificationMutant.h"
#import "UnableHaiBaoJuheGzyazfInfoMutant.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "ButterHaiBaoJuheConfigNested.h"
#import "ChannelHaiBaoJuheUtilsNausea.h"
#import "UnableHaiBaoJuheConfigMutant.h"
#import "PrizesHaiBaoJuheUtilsOcean.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface CommonMenusEncryptToolKinase : NSObject
@interface HarvardMoroccoEncryptToolThrown : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface CommonMenusHaiBaoJuheBaseModelKinase : NSObject
@interface HarvardMoroccoHaiBaoJuheBaseModelThrown : NSObject
- (NSString *) MenusHaiBaoJuheObjectToJsonString;
- (NSString *) MoroccoHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface JackpotMoroccoAllManagerGloria : NSObject
{
NSString* MoroccoAPPID_;
NSString* MoroccoAPPKEY_;
NSString* MoroccoInviterCode_;
}
@property(strong) NSMutableArray* MoroccoList;
@property bool MoroccoGeiWoHuaQianBa;
+ (JackpotMoroccoAllManagerGloria *)SinksMoroccoInstanceStored;
- (void)BanquetMoroccoChuShiHuaCollege;
- (void)MaximMoroccoDengLuRouter:(NSString *)MoroccoAPPID : (NSString *)MoroccoAPPKEY : (UIViewController *)controller;
- (void)DevilMoroccoYangShiCrashes:(NSString*)MoroccoLeiXing;
- (void)DevilMoroccoUrlCrashes:(NSString*)MoroccoUrl;
- (void)MoroccoQuery: (NSString *)MoroccoFuWuQiID : (NSString *)MoroccoNickName : (NSNumber *)MoroccoAmount : (NSString *)MoroccoCallBack : (UIViewController *)controller : (NSString *)MoroccoServerName;
- (void)MoroccoQueryOperation:(UIViewController*)controll MoroccoHuoWuID:(NSString*)products MoroccoJiaGe:(NSString*)amount MoroccoHuoWuMing:(NSString*)productName MoroccoDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
void DGLog(NSString *fmt, ...);
typedef NS_ENUM(NSInteger, DGLoggerLevel)
{
......@@ -11,7 +9,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface SilentMenusHaiBaoJuheDGLoggerSongs : NSObject
@interface JackpotMoroccoHaiBaoJuheDGLoggerGloria : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface OvensMenusControlMadonna : NSObject
@interface MaximMoroccoControlRouter : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface ChannelHaiBaoJuheUtilsNausea : NSObject
@interface PrizesHaiBaoJuheUtilsOcean : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) MenusHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) MoroccoHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)ButtercreateGzyazfUrlNested;
+(NSString *)UnablecreateGzyazfUrlMutant;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "HannahMenusInformationChateau.h"
#import "BanquetMoroccoInformationCollege.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface ChannelMenusMainNausea : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface PrizesMoroccoMainOcean : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webMenusView_;
WKWebView *webMoroccoView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL MenusYouYuanJiao;
@property(assign) BOOL MoroccoYouYuanJiao;
- (void)MenusSettingMenusView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MenusInitWebView;
- (void)MoroccoSettingMoroccoView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MoroccoInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <UIKit/UIKit.h>
@interface SinksMoroccoIAPHelperControlStored : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* MoroccoDingDanHao;
@property(nonatomic,strong) NSDictionary* MoroccoHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* MoroccoHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *MoroccoHuoWuLieBiaoView;
- (void)MoroccoHuaQianView:(UIViewController*)controller MoroccoHuoWuD:(NSString*)products MoroccoQian:(NSString*)amount MoroccoHuoWuMing:(NSString*)productName MoroccoDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface PierreMenusControlTimber : NSObject
@interface TimorMoroccoControlBallots : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const JackpotMoroccoExitNotificationGloria;
extern NSString * const UnableMoroccoLoginNotificationMutant;
extern NSString * const HarvardMoroccoErrorNotificationThrown;
@interface TimorMoroccoHuiTiaoNotificationBallots : NSObject
@end
#import <Foundation/Foundation.h>
@interface ButterHaiBaoJuheConfigNested : NSObject
@interface UnableHaiBaoJuheConfigMutant : 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;
+ (ButterHaiBaoJuheConfigNested *)CommongetInstanceKinase;
+ (UnableHaiBaoJuheConfigMutant *)HarvardgetInstanceThrown;
- (void) loadFile:(NSString *) fileName;
- (NSString *)SilentgetValueByKeySongs:(NSString *) key;
- (NSString *)JackpotgetValueByKeyGloria:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface ButterHaiBaoJuheGzyazfInfoNested : CommonMenusHaiBaoJuheBaseModelKinase
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface UnableHaiBaoJuheGzyazfInfoMutant : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// ButterHaiBaoJuheNotificationNested.h
// UnableHaiBaoJuheNotificationMutant.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -29,7 +29,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface ButterHaiBaoJuheNotificationNested : NSObject
@interface UnableHaiBaoJuheNotificationMutant : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface RatingsMenusControlDense : NSObject
@interface UnableMoroccoControlMutant : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
{"renyunAppKey": "", "payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 548, "sdkSimpleName": "apple_shenshou", "APP_ID": "5ecb760a79a108080a336ae3", "gamechannelid": "", "APP_KEY": "7314c15ff143d773904072282231dd09", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "0", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "com.saige.chesheng", "descode": "", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "1143"}
#import <Foundation/Foundation.h>
extern NSString * const SilentMenusExitNotificationSongs;
extern NSString * const ButterMenusLoginNotificationNested;
extern NSString * const CommonMenusErrorNotificationKinase;
@interface RatingsMenusHuiTiaoNotificationDense : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface SilentMenusAllManagerSongs : NSObject
{
NSString* MenusAPPID_;
NSString* MenusAPPKEY_;
NSString* MenusInviterCode_;
}
@property(strong) NSMutableArray* MenusList;
@property bool MenusGeiWoHuaQianBa;
+ (SilentMenusAllManagerSongs *)SonomaMenusInstanceBrunei;
- (void)HannahMenusChuShiHuaChateau;
- (void)OvensMenusDengLuMadonna:(NSString *)MenusAPPID : (NSString *)MenusAPPKEY : (UIViewController *)controller;
- (void)BathsMenusYangShiZambia:(NSString*)MenusLeiXing;
- (void)BathsMenusUrlZambia:(NSString*)MenusUrl;
- (void)MenusQuery: (NSString *)MenusFuWuQiID : (NSString *)MenusNickName : (NSNumber *)MenusAmount : (NSString *)MenusCallBack : (UIViewController *)controller : (NSString *)MenusServerName;
- (void)MenusQueryOperation:(UIViewController*)controll MenusHuoWuID:(NSString*)products MenusJiaGe:(NSString*)amount MenusHuoWuMing:(NSString*)productName MenusDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface SonomaMenusIAPHelperControlBrunei : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* MenusDingDanHao;
@property(nonatomic,strong) NSDictionary* MenusHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* MenusHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *MenusHuoWuLieBiaoView;
- (void)MenusHuaQianView:(UIViewController*)controller MenusHuoWuD:(NSString*)products MenusQian:(NSString*)amount MenusHuoWuMing:(NSString*)productName MenusDingDanHao:(NSString*)DingDanHao;
@end
配置文件名:dgzz
头文件: #import <dgzz/HaiBaoJuheSDK2.h>
......
#import <Foundation/Foundation.h>
@interface BathsMenusControlZambia : NSObject
@interface AllanMoroccoControlLonger : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface HannahMenusInformationChateau : NSObject
@interface BanquetMoroccoInformationCollege : NSObject
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
@property(retain,nonatomic) NSString *birthday;
+ (HannahMenusInformationChateau *)getInstance;
+ (BanquetMoroccoInformationCollege *)getInstance;
@end
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "ButterHaiBaoJuheNotificationNested.h"
#import "UnableHaiBaoJuheNotificationMutant.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "ButterHaiBaoJuheGzyazfInfoNested.h"
#import "UnableHaiBaoJuheGzyazfInfoMutant.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface HamasHaiBaoJuheCheckerMariner : NSObject<HaiBaoJuheSDKDelegate>
@interface BlushHaiBaoJuheCheckerExports : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (HamasHaiBaoJuheCheckerMariner *)PierregetInstanceTimber;
+ (BlushHaiBaoJuheCheckerExports *)AllangetInstanceLonger;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) MenusHaiBaoJuhereportOpen;
- (void) MenusHaiBaoJuhereportSDKOpen;
- (void) MenusHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) MoroccoHaiBaoJuhereportOpen;
- (void) MoroccoHaiBaoJuhereportSDKOpen;
- (void) MoroccoHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) MenusHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) MoroccoHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) MenusHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) MoroccoHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface HamasMenusLocationMariner : NSObject
@interface BlushMoroccoLocationExports : NSObject
+ (NSString *)MenusSKCloudServiceSetupOptionsKey;
+ (NSString *)MoroccoSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
@interface ButterMenusControlNested : NSObject
@interface DevilMoroccoControlCrashes : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface BathsMenusInformationJMZambia : NSObject
@interface DevilMoroccoInformationJMCrashes : NSObject
+(NSString *)MenusJM:(NSString *)jm;
+(NSString *)MoroccoJM:(NSString *)jm;
@end
......
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheCreateOrderInfo : CommonMenusHaiBaoJuheBaseModelKinase
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheCreateOrderInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@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 *) MenusHaiBaoJuheGetTsign ;
- (NSString *) MenusHaiBaoJuheGetTimestamp ;
- (NSString *) MoroccoHaiBaoJuheGetTsign ;
- (NSString *) MoroccoHaiBaoJuheGetTimestamp ;
@end
......
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheLoginInfo : CommonMenusHaiBaoJuheBaseModelKinase
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheLoginInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// MenusHaiBaoJuheReportInfo.h
// MoroccoHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheReportInfo : CommonMenusHaiBaoJuheBaseModelKinase
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheReportInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......
......@@ -9,7 +9,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* MenusList;
@property(strong) NSMutableArray* MoroccoList;
@property BOOL isAppleGzyazfing;
......
......@@ -2,14 +2,14 @@
#import "HaiBaoRealNameVerifyCallback.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "HamasHaiBaoJuheCheckerMariner.h"
#import "BlushHaiBaoJuheCheckerExports.h"
#import "Interface.h"
#import "ButterHaiBaoJuheNotificationNested.h"
#import "ButterHaiBaoJuheGzyazfInfoNested.h"
#import "UnableHaiBaoJuheNotificationMutant.h"
#import "UnableHaiBaoJuheGzyazfInfoMutant.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "ButterHaiBaoJuheConfigNested.h"
#import "ChannelHaiBaoJuheUtilsNausea.h"
#import "UnableHaiBaoJuheConfigMutant.h"
#import "PrizesHaiBaoJuheUtilsOcean.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface CommonMenusEncryptToolKinase : NSObject
@interface HarvardMoroccoEncryptToolThrown : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface CommonMenusHaiBaoJuheBaseModelKinase : NSObject
@interface HarvardMoroccoHaiBaoJuheBaseModelThrown : NSObject
- (NSString *) MenusHaiBaoJuheObjectToJsonString;
- (NSString *) MoroccoHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface JackpotMoroccoAllManagerGloria : NSObject
{
NSString* MoroccoAPPID_;
NSString* MoroccoAPPKEY_;
NSString* MoroccoInviterCode_;
}
@property(strong) NSMutableArray* MoroccoList;
@property bool MoroccoGeiWoHuaQianBa;
+ (JackpotMoroccoAllManagerGloria *)SinksMoroccoInstanceStored;
- (void)BanquetMoroccoChuShiHuaCollege;
- (void)MaximMoroccoDengLuRouter:(NSString *)MoroccoAPPID : (NSString *)MoroccoAPPKEY : (UIViewController *)controller;
- (void)DevilMoroccoYangShiCrashes:(NSString*)MoroccoLeiXing;
- (void)DevilMoroccoUrlCrashes:(NSString*)MoroccoUrl;
- (void)MoroccoQuery: (NSString *)MoroccoFuWuQiID : (NSString *)MoroccoNickName : (NSNumber *)MoroccoAmount : (NSString *)MoroccoCallBack : (UIViewController *)controller : (NSString *)MoroccoServerName;
- (void)MoroccoQueryOperation:(UIViewController*)controll MoroccoHuoWuID:(NSString*)products MoroccoJiaGe:(NSString*)amount MoroccoHuoWuMing:(NSString*)productName MoroccoDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
void DGLog(NSString *fmt, ...);
typedef NS_ENUM(NSInteger, DGLoggerLevel)
{
......@@ -11,7 +9,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface SilentMenusHaiBaoJuheDGLoggerSongs : NSObject
@interface JackpotMoroccoHaiBaoJuheDGLoggerGloria : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#import <Foundation/Foundation.h>
@interface OvensMenusControlMadonna : NSObject
@interface MaximMoroccoControlRouter : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface ChannelHaiBaoJuheUtilsNausea : NSObject
@interface PrizesHaiBaoJuheUtilsOcean : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) MenusHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) MoroccoHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)ButtercreateGzyazfUrlNested;
+(NSString *)UnablecreateGzyazfUrlMutant;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "HannahMenusInformationChateau.h"
#import "BanquetMoroccoInformationCollege.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface ChannelMenusMainNausea : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface PrizesMoroccoMainOcean : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webMenusView_;
WKWebView *webMoroccoView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL MenusYouYuanJiao;
@property(assign) BOOL MoroccoYouYuanJiao;
- (void)MenusSettingMenusView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MenusInitWebView;
- (void)MoroccoSettingMoroccoView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MoroccoInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
#import <UIKit/UIKit.h>
@interface SinksMoroccoIAPHelperControlStored : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* MoroccoDingDanHao;
@property(nonatomic,strong) NSDictionary* MoroccoHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* MoroccoHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *MoroccoHuoWuLieBiaoView;
- (void)MoroccoHuaQianView:(UIViewController*)controller MoroccoHuoWuD:(NSString*)products MoroccoQian:(NSString*)amount MoroccoHuoWuMing:(NSString*)productName MoroccoDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface PierreMenusControlTimber : NSObject
@interface TimorMoroccoControlBallots : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const JackpotMoroccoExitNotificationGloria;
extern NSString * const UnableMoroccoLoginNotificationMutant;
extern NSString * const HarvardMoroccoErrorNotificationThrown;
@interface TimorMoroccoHuiTiaoNotificationBallots : NSObject
@end
#import <Foundation/Foundation.h>
@interface ButterHaiBaoJuheConfigNested : NSObject
@interface UnableHaiBaoJuheConfigMutant : 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;
+ (ButterHaiBaoJuheConfigNested *)CommongetInstanceKinase;
+ (UnableHaiBaoJuheConfigMutant *)HarvardgetInstanceThrown;
- (void) loadFile:(NSString *) fileName;
- (NSString *)SilentgetValueByKeySongs:(NSString *) key;
- (NSString *)JackpotgetValueByKeyGloria:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface ButterHaiBaoJuheGzyazfInfoNested : CommonMenusHaiBaoJuheBaseModelKinase
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface UnableHaiBaoJuheGzyazfInfoMutant : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// ButterHaiBaoJuheNotificationNested.h
// UnableHaiBaoJuheNotificationMutant.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -29,7 +29,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface ButterHaiBaoJuheNotificationNested : NSObject
@interface UnableHaiBaoJuheNotificationMutant : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface RatingsMenusControlDense : NSObject
@interface UnableMoroccoControlMutant : NSObject
- (void)initMenusInstance;
- (void)initMoroccoInstance;
- (void) MenusStartGo;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
extern NSString * const SilentMenusExitNotificationSongs;
extern NSString * const ButterMenusLoginNotificationNested;
extern NSString * const CommonMenusErrorNotificationKinase;
@interface RatingsMenusHuiTiaoNotificationDense : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface SilentMenusAllManagerSongs : NSObject
{
NSString* MenusAPPID_;
NSString* MenusAPPKEY_;
NSString* MenusInviterCode_;
}
@property(strong) NSMutableArray* MenusList;
@property bool MenusGeiWoHuaQianBa;
+ (SilentMenusAllManagerSongs *)SonomaMenusInstanceBrunei;
- (void)HannahMenusChuShiHuaChateau;
- (void)OvensMenusDengLuMadonna:(NSString *)MenusAPPID : (NSString *)MenusAPPKEY : (UIViewController *)controller;
- (void)BathsMenusYangShiZambia:(NSString*)MenusLeiXing;
- (void)BathsMenusUrlZambia:(NSString*)MenusUrl;
- (void)MenusQuery: (NSString *)MenusFuWuQiID : (NSString *)MenusNickName : (NSNumber *)MenusAmount : (NSString *)MenusCallBack : (UIViewController *)controller : (NSString *)MenusServerName;
- (void)MenusQueryOperation:(UIViewController*)controll MenusHuoWuID:(NSString*)products MenusJiaGe:(NSString*)amount MenusHuoWuMing:(NSString*)productName MenusDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface SonomaMenusIAPHelperControlBrunei : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* MenusDingDanHao;
@property(nonatomic,strong) NSDictionary* MenusHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* MenusHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *MenusHuoWuLieBiaoView;
- (void)MenusHuaQianView:(UIViewController*)controller MenusHuoWuD:(NSString*)products MenusQian:(NSString*)amount MenusHuoWuMing:(NSString*)productName MenusDingDanHao:(NSString*)DingDanHao;
@end
#import <dyjxswx/HaiBaoJuheSDK2.h>
#import "dgzz/HaiBaoJuheSDK2.h"
@interface SDKInterface : Interface
@end
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "dyjxswx/SilentMenusAllManagerSongs.h"
#import "dyjxswx/RatingsMenusHuiTiaoNotificationDense.h"
#import "dyjxswx/HannahMenusInformationChateau.h"
#import "dgzz/JackpotMoroccoAllManagerGloria.h"
#import "dgzz/TimorMoroccoHuiTiaoNotificationBallots.h"
#import "dgzz/BanquetMoroccoInformationCollege.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *MenusAppId;
NSString *MenusAppKey;
NSString *MenusLeakOrderUrl;
NSString *MoroccoAppId;
NSString *MoroccoAppKey;
NSString *MoroccoLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[ButterHaiBaoJuheConfigNested CommongetInstanceKinase];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei]HannahMenusChuShiHuaChateau];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei]BathsMenusYangShiZambia:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:ButterMenusLoginNotificationNested object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MenusToolCallBack" object:nil];
[UnableHaiBaoJuheConfigMutant HarvardgetInstanceThrown];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored]BanquetMoroccoChuShiHuaCollege];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored]DevilMoroccoYangShiCrashes:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:UnableMoroccoLoginNotificationMutant object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MoroccoToolCallBack" object:nil];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[BlushHaiBaoJuheCheckerExports AllangetInstanceLonger] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"gamechannelid"];
NSString* channelId = [[UnableHaiBaoJuheConfigMutant HarvardgetInstanceThrown] JackpotgetValueByKeyGloria:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *MenusLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
MenusAppId = [[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"APP_ID"];
MenusAppKey =[[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"APP_KEY"];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei]OvensMenusDengLuMadonna:MenusAppId :MenusAppKey :self.controller];
MoroccoAppId = [[UnableHaiBaoJuheConfigMutant HarvardgetInstanceThrown] JackpotgetValueByKeyGloria:@"APP_ID"];
MoroccoAppKey =[[UnableHaiBaoJuheConfigMutant HarvardgetInstanceThrown] JackpotgetValueByKeyGloria:@"APP_KEY"];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored]MaximMoroccoDengLuRouter:MoroccoAppId :MoroccoAppKey :self.controller];
}
......@@ -50,10 +50,10 @@ NSString *MenusLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[HannahMenusInformationChateau getInstance]openId];
loginInfo.sign = [[HannahMenusInformationChateau getInstance] token];
loginInfo.timestamp = [[HannahMenusInformationChateau getInstance] timestamp];
NSString *birthday = [[HannahMenusInformationChateau getInstance] birthday];
loginInfo.openId = [[BanquetMoroccoInformationCollege getInstance]openId];
loginInfo.sign = [[BanquetMoroccoInformationCollege getInstance] token];
loginInfo.timestamp = [[BanquetMoroccoInformationCollege getInstance] timestamp];
NSString *birthday = [[BanquetMoroccoInformationCollege getInstance] birthday];
self.birthday = birthday;
if([birthday length] == 8){//已认证
self.code = ALREADY_VERIFY;
......@@ -61,7 +61,7 @@ NSString *MenusLeakOrderUrl;
self.code = NO_VERIFY_HANDLER;
};
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] startCheck:loginInfo];
[[BlushHaiBaoJuheCheckerExports AllangetInstanceLonger] startCheck:loginInfo];
});
}
......@@ -84,7 +84,7 @@ NSString *MenusLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"MenusToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"MoroccoToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -103,10 +103,10 @@ NSString *MenusLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MenusLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MoroccoLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[BlushHaiBaoJuheCheckerExports AllangetInstanceLonger] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -124,11 +124,11 @@ NSString *MenusLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
MenusLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested],
MoroccoLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[PrizesHaiBaoJuheUtilsOcean UnablecreateGzyazfUrlMutant],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:MenusLeakOrderUrl forKey:@"lastMenusLeakOrderUrl"];
[userDefaults setObject:MoroccoLeakOrderUrl forKey:@"lastMoroccoLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -138,7 +138,7 @@ NSString *MenusLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MenusLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MoroccoLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -148,8 +148,8 @@ NSString *MenusLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
MenusLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested],
MoroccoLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[PrizesHaiBaoJuheUtilsOcean UnablecreateGzyazfUrlMutant],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -194,7 +194,7 @@ NSString *MenusLeakOrderUrl;
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[BlushHaiBaoJuheCheckerExports AllangetInstanceLonger] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -220,12 +220,12 @@ NSString *MenusLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastMenusLeakOrderUrl = [userDefaults objectForKey:@"lastMenusLeakOrderUrl"];
NSString* lastMoroccoLeakOrderUrl = [userDefaults objectForKey:@"lastMoroccoLeakOrderUrl"];
NSString* result;
if (lastMenusLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastMenusLeakOrderUrl :receiptDic];
if (lastMoroccoLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastMoroccoLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[PrizesHaiBaoJuheUtilsOcean UnablecreateGzyazfUrlMutant] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -247,7 +247,7 @@ NSString *MenusLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
ButterHaiBaoJuheGzyazfInfoNested *payInfo = [notification object];
UnableHaiBaoJuheGzyazfInfoMutant *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -261,14 +261,14 @@ NSString *MenusLeakOrderUrl;
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei] MenusQuery:serverId :roleName :amount :[payInfo queryId] :self.controller :[payInfo serverName]];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored] MoroccoQuery: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];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei] MenusQueryOperation:self.controller MenusHuoWuID:products MenusJiaGe:[payInfo postAmount] MenusHuoWuMing:[payInfo productName] MenusDingDanHao:queryId];
[[JackpotMoroccoAllManagerGloria SinksMoroccoInstanceStored] MoroccoQueryOperation:self.controller MoroccoHuoWuID:products MoroccoJiaGe:[payInfo postAmount] MoroccoHuoWuMing:[payInfo productName] MoroccoDingDanHao:queryId];
}
}
......
#import <Foundation/Foundation.h>
@interface AllanMoroccoControlLonger : NSObject
- (void)initMoroccoInstance;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
@end
#import <Foundation/Foundation.h>
@interface BanquetMoroccoInformationCollege : NSObject
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
@property(retain,nonatomic) NSString *birthday;
+ (BanquetMoroccoInformationCollege *)getInstance;
@end
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "UnableHaiBaoJuheNotificationMutant.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "UnableHaiBaoJuheGzyazfInfoMutant.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface BlushHaiBaoJuheCheckerExports : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (BlushHaiBaoJuheCheckerExports *)AllangetInstanceLonger;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) MoroccoHaiBaoJuhereportOpen;
- (void) MoroccoHaiBaoJuhereportSDKOpen;
- (void) MoroccoHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) MoroccoHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
description:(NSString *)szDescripton
extendData:(NSObject *)extendData;
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) MoroccoHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
*/
- (void)setHaiBaoJuheSDKDelegate:(nullable id<HaiBaoJuheSDKDelegate>)HaiBaoJuheSDKDeletate;
@end
#import <UIKit/UIKit.h>
@interface BlushMoroccoLocationExports : NSObject
+ (NSString *)MoroccoSKCloudServiceSetupOptionsKey;
@end
#import <Foundation/Foundation.h>
@interface DevilMoroccoControlCrashes : NSObject
- (void)initMoroccoInstance;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
@end
#import <Foundation/Foundation.h>
@interface DevilMoroccoInformationJMCrashes : NSObject
+(NSString *)MoroccoJM:(NSString *)jm;
@end
#import <Foundation/Foundation.h>
#import "GTMDefines.h"
@interface GTMBase64 : NSObject
+(NSData *)encodeData:(NSData *)data;
+(NSData *)decodeData:(NSData *)data;
+(NSData *)encodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSData *)decodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSString *)stringByEncodingData:(NSData *)data;
+(NSString *)stringByEncodingBytes:(const void *)bytes length:(NSUInteger)length;
+(NSData *)decodeString:(NSString *)string;
+(NSData *)webSafeEncodeData:(NSData *)data
padded:(BOOL)padded;
+(NSData *)webSafeDecodeData:(NSData *)data;
+(NSData *)webSafeEncodeBytes:(const void *)bytes
length:(NSUInteger)length
padded:(BOOL)padded;
+(NSData *)webSafeDecodeBytes:(const void *)bytes length:(NSUInteger)length;
+(NSString *)stringByWebSafeEncodingData:(NSData *)data
padded:(BOOL)padded;
+(NSString *)stringByWebSafeEncodingBytes:(const void *)bytes
length:(NSUInteger)length
padded:(BOOL)padded;
+(NSData *)webSafeDecodeString:(NSString *)string;
@end
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>
#if TARGET_OS_IPHONE
#include <Availability.h>
#endif // TARGET_OS_IPHONE
// Not all MAC_OS_X_VERSION_10_X macros defined in past SDKs
#ifndef MAC_OS_X_VERSION_10_5
#define MAC_OS_X_VERSION_10_5 1050
#endif
#ifndef MAC_OS_X_VERSION_10_6
#define MAC_OS_X_VERSION_10_6 1060
#endif
// Not all __IPHONE_X macros defined in past SDKs
#ifndef __IPHONE_2_1
#define __IPHONE_2_1 20100
#endif
#ifndef __IPHONE_2_2
#define __IPHONE_2_2 20200
#endif
#ifndef __IPHONE_3_0
#define __IPHONE_3_0 30000
#endif
#ifndef __IPHONE_3_1
#define __IPHONE_3_1 30100
#endif
#ifndef __IPHONE_3_2
#define __IPHONE_3_2 30200
#endif
#ifndef __IPHONE_4_0
#define __IPHONE_4_0 40000
#endif
// ----------------------------------------------------------------------------
// CPP symbols that can be overridden in a prefix to control how the toolbox
// is compiled.
// ----------------------------------------------------------------------------
// By setting the GTM_CONTAINERS_VALIDATION_FAILED_LOG and
// GTM_CONTAINERS_VALIDATION_FAILED_ASSERT macros you can control what happens
// when a validation fails. If you implement your own validators, you may want
// to control their internals using the same macros for consistency.
#ifndef GTM_CONTAINERS_VALIDATION_FAILED_ASSERT
#define GTM_CONTAINERS_VALIDATION_FAILED_ASSERT 0
#endif
// Give ourselves a consistent way to do inlines. Apple's macros even use
// a few different actual definitions, so we're based off of the foundation
// one.
#if !defined(GTM_INLINE)
#if defined (__GNUC__) && (__GNUC__ == 4)
#define GTM_INLINE static __inline__ __attribute__((always_inline))
#else
#define GTM_INLINE static __inline__
#endif
#endif
// Give ourselves a consistent way of doing externs that links up nicely
// when mixing objc and objc++
#if !defined (GTM_EXTERN)
#if defined __cplusplus
#define GTM_EXTERN extern "C"
#define GTM_EXTERN_C_BEGIN extern "C" {
#define GTM_EXTERN_C_END }
#else
#define GTM_EXTERN extern
#define GTM_EXTERN_C_BEGIN
#define GTM_EXTERN_C_END
#endif
#endif
// Give ourselves a consistent way of exporting things if we have visibility
// set to hidden.
#if !defined (GTM_EXPORT)
#define GTM_EXPORT __attribute__((visibility("default")))
#endif
// Give ourselves a consistent way of declaring something as unused. This
// doesn't use __unused because that is only supported in gcc 4.2 and greater.
#if !defined (GTM_UNUSED)
#define GTM_UNUSED(x) ((void)(x))
#endif
// _GTMDevLog & _GTMDevAssert
//
// _GTMDevLog & _GTMDevAssert are meant to be a very lightweight shell for
// developer level errors. This implementation simply macros to NSLog/NSAssert.
// It is not intended to be a general logging/reporting system.
//
// Please see http://code.google.com/p/google-toolbox-for-mac/wiki/DevLogNAssert
// for a little more background on the usage of these macros.
//
// _GTMDevLog log some error/problem in debug builds
// _GTMDevAssert assert if conditon isn't met w/in a method/function
// in all builds.
//
// To replace this system, just provide different macro definitions in your
// prefix header. Remember, any implementation you provide *must* be thread
// safe since this could be called by anything in what ever situtation it has
// been placed in.
//
// We only define the simple macros if nothing else has defined this.
#ifndef _GTMDevLog
#ifdef DEBUG
#define _GTMDevLog(...) NSLog(__VA_ARGS__)
#else
#define _GTMDevLog(...) do { } while (0)
#endif
#endif // _GTMDevLog
#ifndef _GTMDevAssert
// we directly invoke the NSAssert handler so we can pass on the varargs
// (NSAssert doesn't have a macro we can use that takes varargs)
#if !defined(NS_BLOCK_ASSERTIONS)
#define _GTMDevAssert(condition, ...) \
do { \
if (!(condition)) { \
[[NSAssertionHandler currentHandler] \
handleFailureInFunction:[NSString stringWithUTF8String:__PRETTY_FUNCTION__] \
file:[NSString stringWithUTF8String:__FILE__] \
lineNumber:__LINE__ \
description:__VA_ARGS__]; \
} \
} while(0)
#else // !defined(NS_BLOCK_ASSERTIONS)
#define _GTMDevAssert(condition, ...) do { } while (0)
#endif // !defined(NS_BLOCK_ASSERTIONS)
#endif // _GTMDevAssert
// _GTMCompileAssert
// _GTMCompileAssert is an assert that is meant to fire at compile time if you
// want to check things at compile instead of runtime. For example if you
// want to check that a wchar is 4 bytes instead of 2 you would use
// _GTMCompileAssert(sizeof(wchar_t) == 4, wchar_t_is_4_bytes_on_OS_X)
// Note that the second "arg" is not in quotes, and must be a valid processor
// symbol in it's own right (no spaces, punctuation etc).
// Wrapping this in an #ifndef allows external groups to define their own
// compile time assert scheme.
#ifndef _GTMCompileAssert
// We got this technique from here:
// http://unixjunkie.blogspot.com/2007/10/better-compile-time-asserts_29.html
#define _GTMCompileAssertSymbolInner(line, msg) _GTMCOMPILEASSERT ## line ## __ ## msg
#define _GTMCompileAssertSymbol(line, msg) _GTMCompileAssertSymbolInner(line, msg)
#define _GTMCompileAssert(test, msg) \
typedef char _GTMCompileAssertSymbol(__LINE__, msg) [ ((test) ? 1 : -1) ]
#endif // _GTMCompileAssert
// ----------------------------------------------------------------------------
// CPP symbols defined based on the project settings so the GTM code has
// simple things to test against w/o scattering the knowledge of project
// setting through all the code.
// ----------------------------------------------------------------------------
// Provide a single constant CPP symbol that all of GTM uses for ifdefing
// iPhone code.
#if TARGET_OS_IPHONE // iPhone SDK
// For iPhone specific stuff
#define GTM_IPHONE_SDK 1
#if TARGET_IPHONE_SIMULATOR
#define GTM_IPHONE_SIMULATOR 1
#else
#define GTM_IPHONE_DEVICE 1
#endif // TARGET_IPHONE_SIMULATOR
#else
// For MacOS specific stuff
#define GTM_MACOS_SDK 1
#endif
// Some of our own availability macros
#if GTM_MACOS_SDK
#define GTM_AVAILABLE_ONLY_ON_IPHONE UNAVAILABLE_ATTRIBUTE
#define GTM_AVAILABLE_ONLY_ON_MACOS
#else
#define GTM_AVAILABLE_ONLY_ON_IPHONE
#define GTM_AVAILABLE_ONLY_ON_MACOS UNAVAILABLE_ATTRIBUTE
#endif
// Provide a symbol to include/exclude extra code for GC support. (This mainly
// just controls the inclusion of finalize methods).
#ifndef GTM_SUPPORT_GC
#if GTM_IPHONE_SDK
// iPhone never needs GC
#define GTM_SUPPORT_GC 0
#else
// We can't find a symbol to tell if GC is supported/required, so best we
// do on Mac targets is include it if we're on 10.5 or later.
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
#define GTM_SUPPORT_GC 0
#else
#define GTM_SUPPORT_GC 1
#endif
#endif
#endif
// To simplify support for 64bit (and Leopard in general), we provide the type
// defines for non Leopard SDKs
#if !(MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
// NSInteger/NSUInteger and Max/Mins
#ifndef NSINTEGER_DEFINED
#if __LP64__ || NS_BUILD_32_LIKE_64
typedef long NSInteger;
typedef unsigned long NSUInteger;
#else
typedef int NSInteger;
typedef unsigned int NSUInteger;
#endif
#define NSIntegerMax LONG_MAX
#define NSIntegerMin LONG_MIN
#define NSUIntegerMax ULONG_MAX
#define NSINTEGER_DEFINED 1
#endif // NSINTEGER_DEFINED
// CGFloat
#ifndef CGFLOAT_DEFINED
#if defined(__LP64__) && __LP64__
// This really is an untested path (64bit on Tiger?)
typedef double CGFloat;
#define CGFLOAT_MIN DBL_MIN
#define CGFLOAT_MAX DBL_MAX
#define CGFLOAT_IS_DOUBLE 1
#else /* !defined(__LP64__) || !__LP64__ */
typedef float CGFloat;
#define CGFLOAT_MIN FLT_MIN
#define CGFLOAT_MAX FLT_MAX
#define CGFLOAT_IS_DOUBLE 0
#endif /* !defined(__LP64__) || !__LP64__ */
#define CGFLOAT_DEFINED 1
#endif // CGFLOAT_DEFINED
#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
// Some support for advanced clang static analysis functionality
// See http://clang-analyzer.llvm.org/annotations.html
#ifndef __has_feature // Optional.
#define __has_feature(x) 0 // Compatibility with non-clang compilers.
#endif
#ifndef NS_RETURNS_RETAINED
#if __has_feature(attribute_ns_returns_retained)
#define NS_RETURNS_RETAINED __attribute__((ns_returns_retained))
#else
#define NS_RETURNS_RETAINED
#endif
#endif
#ifndef NS_RETURNS_NOT_RETAINED
#if __has_feature(attribute_ns_returns_not_retained)
#define NS_RETURNS_NOT_RETAINED __attribute__((ns_returns_not_retained))
#else
#define NS_RETURNS_NOT_RETAINED
#endif
#endif
#ifndef CF_RETURNS_RETAINED
#if __has_feature(attribute_cf_returns_retained)
#define CF_RETURNS_RETAINED __attribute__((cf_returns_retained))
#else
#define CF_RETURNS_RETAINED
#endif
#endif
#ifndef CF_RETURNS_NOT_RETAINED
#if __has_feature(attribute_cf_returns_not_retained)
#define CF_RETURNS_NOT_RETAINED __attribute__((cf_returns_not_retained))
#else
#define CF_RETURNS_NOT_RETAINED
#endif
#endif
// Defined on 10.6 and above.
#ifndef NS_FORMAT_ARGUMENT
#define NS_FORMAT_ARGUMENT(A)
#endif
// Defined on 10.6 and above.
#ifndef NS_FORMAT_FUNCTION
#define NS_FORMAT_FUNCTION(F,A)
#endif
// Defined on 10.6 and above.
#ifndef CF_FORMAT_ARGUMENT
#define CF_FORMAT_ARGUMENT(A)
#endif
// Defined on 10.6 and above.
#ifndef CF_FORMAT_FUNCTION
#define CF_FORMAT_FUNCTION(F,A)
#endif
#ifndef GTM_NONNULL
#define GTM_NONNULL(x) __attribute__((nonnull(x)))
#endif
#ifdef __OBJC__
// Declared here so that it can easily be used for logging tracking if
// necessary. See GTMUnitTestDevLog.h for details.
@class NSString;
GTM_EXTERN void _GTMUnitTestDevLog(NSString *format, ...);
// Macro to allow you to create NSStrings out of other macros.
// #define FOO foo
// NSString *fooString = GTM_NSSTRINGIFY(FOO);
#if !defined (GTM_NSSTRINGIFY)
#define GTM_NSSTRINGIFY_INNER(x) @#x
#define GTM_NSSTRINGIFY(x) GTM_NSSTRINGIFY_INNER(x)
#endif
// Macro to allow fast enumeration when building for 10.5 or later, and
// reliance on NSEnumerator for 10.4. Remember, NSDictionary w/ FastEnumeration
// does keys, so pick the right thing, nothing is done on the FastEnumeration
// side to be sure you're getting what you wanted.
#ifndef GTM_FOREACH_OBJECT
#if TARGET_OS_IPHONE || !(MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5)
#define GTM_FOREACH_ENUMEREE(element, enumeration) \
for (element in enumeration)
#define GTM_FOREACH_OBJECT(element, collection) \
for (element in collection)
#define GTM_FOREACH_KEY(element, collection) \
for (element in collection)
#else
#define GTM_FOREACH_ENUMEREE(element, enumeration) \
for (NSEnumerator *_ ## element ## _enum = enumeration; \
(element = [_ ## element ## _enum nextObject]) != nil; )
#define GTM_FOREACH_OBJECT(element, collection) \
GTM_FOREACH_ENUMEREE(element, [collection objectEnumerator])
#define GTM_FOREACH_KEY(element, collection) \
GTM_FOREACH_ENUMEREE(element, [collection keyEnumerator])
#endif
#endif
// ============================================================================
// To simplify support for both Leopard and Snow Leopard we declare
// the Snow Leopard protocols that we need here.
#if !defined(GTM_10_6_PROTOCOLS_DEFINED) && !(MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6)
#define GTM_10_6_PROTOCOLS_DEFINED 1
@protocol NSConnectionDelegate
@end
@protocol NSAnimationDelegate
@end
@protocol NSImageDelegate
@end
@protocol NSTabViewDelegate
@end
#endif // !defined(GTM_10_6_PROTOCOLS_DEFINED) && !(MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6)
// GTM_SEL_STRING is for specifying selector (usually property) names to KVC
// or KVO methods.
// In debug it will generate warnings for undeclared selectors if
// -Wunknown-selector is turned on.
// In release it will have no runtime overhead.
#ifndef GTM_SEL_STRING
#ifdef DEBUG
#define GTM_SEL_STRING(selName) NSStringFromSelector(@selector(selName))
#else
#define GTM_SEL_STRING(selName) @#selName
#endif // DEBUG
#endif // GTM_SEL_STRING
#endif // __OBJC__
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheCreateOrderInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic,strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
@property(nonatomic, strong)NSString *playerId;//玩家ID
@property(nonatomic, strong)NSString *playerName;//玩家名称
@property(nonatomic, strong)NSString *playerLevel;//玩家等级
@property(nonatomic, strong)NSString *postAmount;//金额
@property(nonatomic, strong)NSString *productId;//产品ID
@property(nonatomic, strong)NSString *productName;//产品名称
@property(nonatomic, strong)NSString *productDesc;//产品描述
@property(nonatomic, strong)NSString *custom;//透传参数
@property(nonatomic, strong)NSString *exchange;//兑换比例
@property(nonatomic, strong)NSString *otherInfo;//扩展参数
@property(nonatomic, strong)NSString *userId;//用户ID
@property(nonatomic, strong)NSString *timestamp;//时间戳
- (NSString *) MoroccoHaiBaoJuheGetTsign ;
- (NSString *) MoroccoHaiBaoJuheGetTimestamp ;
@end
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheLoginInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
@property(nonatomic, strong)NSString *other;
@property(nonatomic, strong)NSString *openId;
@property(nonatomic, strong)NSString *userType;
@end
//
// MoroccoHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface HaiBaoJuheReportInfo : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
@property(nonatomic, strong)NSString *playerName;//玩家名称
@property(nonatomic, strong)NSString *playerLevel;//玩家等级
@property(nonatomic, strong)NSString *roleSex;//角色性别(1男0女)
@property(nonatomic, strong)NSString *serverId;//服务器ID
@property(nonatomic, strong)NSString *serverName;//服务器名称
@property(nonatomic, strong)NSNumber *roleCTime;//创建角色时间(秒)
@property(nonatomic, strong)NSString *partyName;//工会名称
@property(nonatomic, strong)NSString *roleType;//角色类型
@property(nonatomic, strong)NSNumber *roleChangeTime;//角色等级更新时间(秒)
@property(nonatomic, strong)NSString *vipLevel;//vip等级
@property(nonatomic, strong)NSNumber *diamond;//余额
@property(nonatomic, strong)NSString *moneyType;//商品单位(元宝,金币)
@property(nonatomic, strong)NSString *custom;//透传参数
@property(nonatomic, strong)NSString *openId;
#define REPORT_OPEN @"open"
#define REPORT_ENTER @"enter"
#define REPORT_CREATEROLE @"createrole"
#define REPORT_ROLEUPGRADE @"roleupgrade"
#define REPORT_SDK_OPEN @"opensdk"
#define REPORT_EXIT @"exit"
#define REPORT_SELECT_SERVER @"selectserver"
@end
#import <Foundation/Foundation.h>
#import "HaiBaoJuheSDK2.h"
#import <UIKit/UIKit.h>
@interface HaiBaoJuheSDK : NSObject
@property(nonatomic, strong, readonly)NSString *sdkVersion;
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* MoroccoList;
@property BOOL isAppleGzyazfing;
+ (HaiBaoJuheSDK *)shareSDK;
- (void)initSDK:(UIViewController *) control;
-(void)viewDidAppear;
- (void)setViewController:(UIViewController *)viewController;
- (void)loginSDK;
- (void)loginSDK:(UIViewController *)viewController;
- (void)gzyazfWithGzyazfmentInfo:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (BOOL)hasUserCenter;
- (void)gotoUserCenter;
- (void)reportSDK:(HaiBaoJuheReportInfo *)reportInfo;
- (BOOL)hasLogout;
- (void)logoutSDK;
- (BOOL)hasSwitchAccount;
- (void)switchAccount;
- (BOOL)hasExit;
- (void)exitSDK;
- (void)destroySDK;
- (void)queryRealNameResult:(id<HaiBaoJuheSdkRealNameCallBack>)callback;
- (BOOL)hasRealNameVerifyView;
- (void)showRealNameVerifyView;
@property(nonatomic, assign)ESDKOrientation sdkOrientation;
@property(nonatomic, assign)BOOL bShowedFloat;
@property(nonatomic, assign)int serverId;
-(NSString *) getGameChannelId;
- (NSString *) getCustomValue;
- (NSString *) getChannelParameter1;
- (NSString *) getChannelParameter2;
-(void)gzyazfmentSuccess:(NSString*)accountId orderId:(NSString*)orderId currencyAmount:(double)amount currencyType:(NSString*)currencyType gzyazfType:(NSString*)gzyazfType custom:(NSArray*)customArray;
- (void)handleOpenurl:(NSURL *)url;
- (NSUInteger) application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo ;
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
- (void)applicationDidEnterBackground:(UIApplication *)application;
- (void)applicationDidBecomeActive:(UIApplication *)application;
- (void)applicationWillEnterForeground:(UIApplication *)application;
- (void)applicationWillResignActive:(UIApplication *)application;
-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options;
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;
@end
#import <UIKit/UIKit.h>
#import "HaiBaoRealNameVerifyCallback.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "BlushHaiBaoJuheCheckerExports.h"
#import "Interface.h"
#import "UnableHaiBaoJuheNotificationMutant.h"
#import "UnableHaiBaoJuheGzyazfInfoMutant.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "UnableHaiBaoJuheConfigMutant.h"
#import "PrizesHaiBaoJuheUtilsOcean.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
#import <Foundation/Foundation.h>
@protocol HaiBaoJuheSDKDelegate <NSObject>
@optional
-(void)HaiBaoJuheSDKLoginSuccess:(HaiBaoJuheLoginInfo*)loginInfo;
-(void)HaiBaoJuheSDKLoginFail:(NSString*)msg;
-(void)HaiBaoJuheSDKSwitchAccountSuccess:(HaiBaoJuheLoginInfo*)loginInfo;
-(void)HaiBaoJuheSDKSwitchAccountFail:(NSString*)msg;
@end
//
// HaiBaoRealNameVerifyCallback.h
// HaiBao_juhe
//
// Created by guangka123 on 2020/4/22.
// Copyright © 2020 lzm. All rights reserved.
//
typedef NS_ENUM(NSInteger,RealNameVerifyCode){
NO_REAL_NAME_VERIFY_FUNCTION,//没有实名认证功能
NO_VERIFY_HANDLER,//有认证功能,未进行认证
ALREADY_VERIFY,//已认证 只有已认证birthday才有值
};
@protocol HaiBaoJuheSdkRealNameCallBack <NSObject>
- (void)realNameVerifyCallback:(RealNameVerifyCode)code birthday:(NSString *)birthday;
@end
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface HarvardMoroccoEncryptToolThrown : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
+ (NSString *)doCipher:(NSString*)encryptValue andPassword:(NSString *)password;
+ (NSString *)decryptUseDES:(NSString *)cipherText andPassword:(NSString *)password;
@end
NS_ASSUME_NONNULL_END
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface HarvardMoroccoHaiBaoJuheBaseModelThrown : NSObject
- (NSString *) MoroccoHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
@end
//
// IAPHelper.h
//
// Original Created by Ray Wenderlich on 2/28/11.
// Created by saturngod on 7/9/12.
// Copyright 2011 Ray Wenderlich. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "StoreKit/StoreKit.h"
typedef void (^IAPProductsResponseBlock)(SKProductsRequest* request , SKProductsResponse* response);
typedef void (^IAPbuyProductCompleteResponseBlock)(SKPaymentTransaction* transcation);
typedef void (^checkReceiptCompleteResponseBlock)(NSString* response,NSError* error);
typedef void (^resoreProductsCompleteResponseBlock) (SKPaymentQueue* payment,NSError* error);
@interface IAPHelper : NSObject <SKProductsRequestDelegate, SKPaymentTransactionObserver>
@property (nonatomic,strong) NSSet *productIdentifiers;
@property (nonatomic,strong) NSArray * products;
@property (nonatomic,strong) NSMutableSet *purchasedProducts;
@property (nonatomic,strong) SKProductsRequest *request;
@property (nonatomic) BOOL production;
//init With Product Identifiers
- (id)initWithProductIdentifiers:(NSSet *)productIdentifiers;
//get Products List
- (void)requestProductsWithCompletion:(IAPProductsResponseBlock)completion;
//Buy Product
- (void)buyProduct:(SKProduct *)productIdentifier onCompletion:(IAPbuyProductCompleteResponseBlock)completion;
//restore Products
- (void)restoreProductsWithCompletion:(resoreProductsCompleteResponseBlock)completion;
//check isPurchased or not
- (BOOL)isPurchasedProductsIdentifier:(NSString*)productID;
//check receipt but recommend to use in server side instead of using this function
- (void)checkReceipt:(NSData*)receiptData onCompletion:(checkReceiptCompleteResponseBlock)completion;
- (void)checkReceipt:(NSData*)receiptData AndSharedSecret:(NSString*)secretKey onCompletion:(checkReceiptCompleteResponseBlock)completion;
//saved purchased product
- (void)provideContentWithTransaction:(SKPaymentTransaction *)transaction;
- (void)provideContent:(NSString *)productIdentifier __deprecated_msg("use provideContentWithTransaction: instead.");
//clear the saved products
- (void)clearSavedPurchasedProducts;
- (void)clearSavedPurchasedProductByID:(NSString*)productIdentifier;
//Get The Price with local currency
- (NSString *)getLocalePrice:(SKProduct *)product;
@end
//
// IAPShare.h
// ;
//
// Created by Htain Lin Shwe on 10/7/12.
// Copyright (c) 2012 Edenpod. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "IAPHelper.h"
@interface IAPShare : NSObject
@property (nonatomic,strong) IAPHelper *iap;
+ (IAPShare *) sharedHelper;
+(id)toJSON:(NSString*)json;
@end
//
// Interface.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/10/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#include "UnionInterface.h"
@interface Interface : NSObject <UnionInterface>
@property(nonatomic, strong)UIViewController *controller;
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface JackpotMoroccoAllManagerGloria : NSObject
{
NSString* MoroccoAPPID_;
NSString* MoroccoAPPKEY_;
NSString* MoroccoInviterCode_;
}
@property(strong) NSMutableArray* MoroccoList;
@property bool MoroccoGeiWoHuaQianBa;
+ (JackpotMoroccoAllManagerGloria *)SinksMoroccoInstanceStored;
- (void)BanquetMoroccoChuShiHuaCollege;
- (void)MaximMoroccoDengLuRouter:(NSString *)MoroccoAPPID : (NSString *)MoroccoAPPKEY : (UIViewController *)controller;
- (void)DevilMoroccoYangShiCrashes:(NSString*)MoroccoLeiXing;
- (void)DevilMoroccoUrlCrashes:(NSString*)MoroccoUrl;
- (void)MoroccoQuery: (NSString *)MoroccoFuWuQiID : (NSString *)MoroccoNickName : (NSNumber *)MoroccoAmount : (NSString *)MoroccoCallBack : (UIViewController *)controller : (NSString *)MoroccoServerName;
- (void)MoroccoQueryOperation:(UIViewController*)controll MoroccoHuoWuID:(NSString*)products MoroccoJiaGe:(NSString*)amount MoroccoHuoWuMing:(NSString*)productName MoroccoDingDanHao:(NSString*) DingDanHao;
@end
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, DGLoggerLevel)
{
ELogVerbose = 1,
ELogDebug,
ELogInfo,
ELogWarn,
ELogError
};
@interface JackpotMoroccoHaiBaoJuheDGLoggerGloria : NSObject
+ (void)showLog:(NSString *)fmt,...;
+ (void)showLog:(DGLoggerLevel)level log:(NSString *)fmt,...;
+ (void)isShowLog:(BOOL)flag;
@end
#import <Foundation/Foundation.h>
@interface MaximMoroccoControlRouter : NSObject
- (void)initMoroccoInstance;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
@end
//
// NSString+Base64.h
// Newsstand
//
// Created by Carlo Vigiani on 29/Oct/11.
// Copyright (c) 2011 viggiosoft. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (Base64)
+ (NSString *) base64StringFromData:(NSData *)data length:(long)length;
@end
#import <Foundation/Foundation.h>
@interface NSURLRequest (SSL)
+(BOOL)allowsAnyHTTPSCertificateForHost:(NSString*)host;
+(void)setAllowsAnyHTTPSCertificate:(BOOL)allow forHost:(NSString*)host;
@end
#import <Foundation/Foundation.h>
@interface NetCenter : NSObject
@property(nonatomic,retain) NSMutableData *receiveData;
@property(nonatomic,assign)int dataPackSerialNo;
+ (NetCenter *)getInstance;
- (NSString *)httpGetSyn:(NSString *) getUrl;
- (NSString *)httpPostSyn:(NSString *) postUrl : (NSDictionary *) postData;
- (NSString *)httpPostSynFillOD:(NSString *) postUrl : (NSDictionary *) postData;
- (void)httpPostNoSyn:(NSString *) postUrl :(NSDictionary *)postDict;
- (void)httpPostAsync:(NSString*)postUrl :(NSDictionary*)postDict;
- (void)httpPostAsyncOpen:(NSString*)postUrl :(NSDictionary*)postDict;
-(void)httpGetAsync:(NSString *)url completionHandler:(void (^ __nullable)(NSURLResponse* __nullable response, NSData* __nullable data, NSError* __nullable connectionError)) handler;
-(void)httpPostAsyncChannel:(NSString *)postUrl postString:(NSString *)postString completionHandler:(void (^)(NSURLResponse * _Nullable, NSData * _Nullable, NSError * _Nullable))handler;
- (NSString * __nullable)dicToString:(NSDictionary * __nullable) dict;
@end
#ifndef __HaiBaoJuheSDK__OtherSetting__
#define __HaiBaoJuheSDK__OtherSetting__
/**
应用支持的方向
*/
typedef NS_ENUM(NSUInteger, ESDKOrientation) {
ESDKOrientationPortrait = 1,//竖
ESDKOrientationLandscape,//横
ESDKOrientationNone//自动旋转
};
/**
应用支持的方向
*/
typedef NS_ENUM(NSUInteger, REPORT_TYPE) {
REPORT_TYPE_OPEN = 1,//竖
REPORT_TYPE_ENTER,//横
REPORT_TYPE_DEFINE//自动旋转
};
#endif /* defined(__HaiBaoJuheSDK__OtherSetting__) */
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface PrizesHaiBaoJuheUtilsOcean : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) MoroccoHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)UnablecreateGzyazfUrlMutant;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
@end
#import <UIKit/UIKit.h>
#import "BanquetMoroccoInformationCollege.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface PrizesMoroccoMainOcean : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webMoroccoView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL MoroccoYouYuanJiao;
- (void)MoroccoSettingMoroccoView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MoroccoInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
- (void)receiveIap:(NSNotification *)notification;
@end
#import "HaiBaoJuheSDK2.h"
@interface SDKInterface : Interface
@end
//
// SFHFKeychainUtils.h
//
// Created by Buzz Andersen on 10/20/08.
// Based partly on code by Jonathan Wight, Jon Crosby, and Mike Malone.
// Copyright 2008 Sci-Fi Hi-Fi. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
//
#import <UIKit/UIKit.h>
@interface SFHFKeychainUtils : NSObject {
}
+ (NSString *) getPasswordForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error;
+ (BOOL) storeUsername: (NSString *) username andPassword: (NSString *) password forServiceName: (NSString *) serviceName updateExisting: (BOOL) updateExisting error: (NSError **) error;
+ (BOOL) deleteItemForUsername: (NSString *) username andServiceName: (NSString *) serviceName error: (NSError **) error;
@end
\ No newline at end of file
#import <UIKit/UIKit.h>
@interface SinksMoroccoIAPHelperControlStored : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* MoroccoDingDanHao;
@property(nonatomic,strong) NSDictionary* MoroccoHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* MoroccoHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *MoroccoHuoWuLieBiaoView;
- (void)MoroccoHuaQianView:(UIViewController*)controller MoroccoHuoWuD:(NSString*)products MoroccoQian:(NSString*)amount MoroccoHuoWuMing:(NSString*)productName MoroccoDingDanHao:(NSString*)DingDanHao;
@end
#import <Foundation/Foundation.h>
@interface TimorMoroccoControlBallots : NSObject
- (void)initMoroccoInstance;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
@end
#import <Foundation/Foundation.h>
extern NSString * const JackpotMoroccoExitNotificationGloria;
extern NSString * const UnableMoroccoLoginNotificationMutant;
extern NSString * const HarvardMoroccoErrorNotificationThrown;
@interface TimorMoroccoHuiTiaoNotificationBallots : NSObject
@end
#import <Foundation/Foundation.h>
@interface UnableHaiBaoJuheConfigMutant : NSObject
@property(nonatomic, strong)NSString *gameSimpleName;
@property(nonatomic, strong)NSString *sdkSimpleName;
@property(nonatomic, strong)NSString *sdkVersionCode;
@property(nonatomic, strong)NSString *loginCheckUrl;
@property(nonatomic, strong)NSString *gzyazfOrderUrl;
@property(nonatomic, strong)NSString *gzyazfCheckUrl;
@property(nonatomic, strong)NSString *c1;
@property(nonatomic, strong)NSString *c2;
@property(nonatomic, strong)NSString *custom;
+ (UnableHaiBaoJuheConfigMutant *)HarvardgetInstanceThrown;
- (void) loadFile:(NSString *) fileName;
- (NSString *)JackpotgetValueByKeyGloria:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
@end
#import "HarvardMoroccoHaiBaoJuheBaseModelThrown.h"
@interface UnableHaiBaoJuheGzyazfInfoMutant : HarvardMoroccoHaiBaoJuheBaseModelThrown
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
@property(nonatomic, strong)NSString *playerId;
@property(nonatomic, strong)NSString *playerName;
@property(nonatomic, strong)NSString *postAmount;
@property(nonatomic, strong)NSString *productId;
@property(nonatomic, strong)NSString *products;
@property(nonatomic, strong)NSString *custom;
@property(nonatomic, strong)NSString *postTime;
@property(nonatomic, strong)NSString *other;
//游戏传递过来的原值
@property(nonatomic, strong)NSString *serverName;//服务器名称
@property(nonatomic, strong)NSString *playerLevel;//玩家等级
@property(nonatomic, strong)NSString *productName;//产品名称
@property(nonatomic, strong)NSString *productDesc;//产品描述
@property(nonatomic, strong)NSString *exchange;//兑换比例
@end
//
// UnableHaiBaoJuheNotificationMutant.h
// public_i9133
//
// Created by winFan on 12/1/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import <Foundation/Foundation.h>
extern NSString * const HaiBaoJuheSDK_Notification; /**< */
extern NSString * const _create_order_notification; /**< */
/**
应用支持的方向
*/
typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
HaiBaoJuheSDKNotificationLogin = 1,//登录
HaiBaoJuheSDKNotificationLogout,//注销
HaiBaoJuheSDKNotificationPause,//暂停退出
HaiBaoJuheSDKNotificationGzyazf,//内部使用
HaiBaoJuheSDKNotificationRole,//创建角色
HaiBaoJuheSDKNotificationInitSDK,//初始化SDK
HaiBaoJuheSDKNotificationSwitchAccount,//切换账号
HaiBaoJuheSDKNotificationExit//退出游戏
};
@interface UnableHaiBaoJuheNotificationMutant : NSObject
@end
//////////////////////////////////////////////////////////////////////
@interface HaiBaoJuheSDKResult : NSObject
@property(nonatomic, assign)int statusCode;//请参照此文件下面状态标识
@property(nonatomic, strong)NSString *resultDescription;
@property(nonatomic, strong)NSObject *extendData;
//V1.2.0新增
@property(nonatomic, assign)HaiBaoJuheSDKNotificationType notiType;//消息类型
@property(nonatomic, strong)NSString *notiName;//消息名称
@end
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
/* 状态标识 */
#define HaiBaoJuheSDK_NO_ERROR 0 /*操作成功*/
#define HaiBaoJuheSDK_ERROR_LOGIN_FAILED -100 /*登录失败*/
#define HaiBaoJuheSDK_ERROR_LOGIN_CANCEL -101 /*登录取消*/
#define HaiBaoJuheSDK_ERROR_LOGIN_GAMGEACCOUNT -102 /*游戏帐号登录,非平台账号*/
#define HaiBaoJuheSDK_ERROR_PAY_FAILED -200 /*支付失败*/
#define HaiBaoJuheSDK_ERROR_PAY_CANCEL -201 /*支付取消*/
#define HaiBaoJuheSDK_ERROR_PAY_VERSIGN -202 /*支付验签失败*/
#define HaiBaoJuheSDK_ERROR_CREATE_ORDER_FAILED -203 /*支付验签失败*/
#define HaiBaoJuheSDK_ERROR_ROLE_CREATE_FAILED -300 /*角色创建失败*/
#define HaiBaoJuheSDK_ERROR_INIT_FAILED -400 /*初始化失败*/
#define HaiBaoJuheSDK_ERROR_SWICHT_ACCOUNT_FAILED -500 /*切换账号失败*/
#define HaiBaoJuheSDK_ERROR_EXIT_CANCEL -600 /*退出取消*/
//////////////////////////////////////////////////////////////////////
#import <Foundation/Foundation.h>
@interface UnableMoroccoControlMutant : NSObject
- (void)initMoroccoInstance;
- (void) MoroccoStartGo;
@property(strong) NSMutableArray* myarray;
@end
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK2.h"
@protocol UnionInterface
@property RealNameVerifyCode code;
@property(nonatomic,strong)NSString *birthday;
/**
初始化SDK
*/
//[[PoolChecker getInstance] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"" extendData:order_id];
- (void)SDKinit:(UIViewController *) control;
- (void)setViewController:(UIViewController *) viewController;
/**
登录SDK
*/
- (void)SDKloginSDK;
- (void)SDKloginSDK:(UIViewController *) control;
/**
*是否含有注销接口
*/
- (BOOL)hasLogout;
/**
注销
*/
- (void)SDKlogoutSDK;
/**
*是否含有退出接口
**/
- (BOOL)hasExit;
/**
退出接口
*/
- (void)SDKexitSDK;
/**
*SDK销毁操作(游戏退出时调用)
*/
- (void)destroySDK;
/**
*是否含有用户中心接口
**/
- (BOOL)hasUserCenter;
/**
用户中心
*/
- (void)SDKgotoUserCenter;
/**
*是否含有切换账号接口
**/
- (BOOL)hasSwitchAccount;
/**
*切换账号
**/
- (void)switchAccount;
- (void)viewDidAppear;
/**
提交数据
*/
- (void)SDKreport:(HaiBaoJuheReportInfo *) reportInfo;
/**
进行支付
*/
- (void)SDKgzyazfWithGzyazfmentInfo:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void)receiveCreateOrder: (NSNotification *)notification;
/**
*充值统计参数
*accountId 账号ID,必填项, 和登陆、注册使用的accountId保持一致即可。
*orderId 订单Id,必填项,请保证该值的全局唯一,系统会使用订单Id进行付费订单排重。
*currencyAmount 货币金额,单位为元,支持小数
*currencyType 货币类型
*gzyazfType 支付类型(渠道)
*/
-(void)gzyazfmentSuccess:(NSString*)accountId orderId:(NSString*)orderId currencyAmount:(double)amount currencyType:(NSString*)currencyType gzyazfType:(NSString*)gzyazfType custom:(NSArray *)customArray;
- (void)handleOpenurl:(NSURL *)url;
- (NSUInteger) application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
//推送
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo ;
//推送
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler;
- (void)applicationDidEnterBackground:(UIApplication *)application;
- (void)applicationDidBecomeActive:(UIApplication *)application;
- (void)applicationWillEnterForeground:(UIApplication *)application;
- (void)applicationWillResignActive:(UIApplication *)application;
-(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options;
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation;
/**
查询实名认证结果
*/
- (void)queryRealNameResult:(id<HaiBaoJuheSdkRealNameCallBack>) callback;
/**
是否有实名接口界面
*/
- (BOOL)hasRealNameVerifyView;
/**
显示实名接口界面
*/
- (void)showRealNameVerifyView;
@end
No preview for this file type
No preview for this file type
{"renyunAppKey": "", "payorderurl": "https://public.sdk.guangkatf.com/paycheck/create", "usertype": 556, "sdkSimpleName": "apple_shenshou", "APP_ID": "5e12f5f179a10823367e9239", "gamechannelid": "", "APP_KEY": "3de89fd00ee05e9fc09d8d1957f15fc9", "logReportUrl": "https://public.sdk.guangkatf.com/sdk/statistic", "encode": "1", "sdkVersionCode": "V1_2", "loginCheckUrl": "https://public.sdk.guangkatf.com/logincheck/check", "appScheme": "com.lylong.two", "descode": "", "c2": "", "c1": "", "custom": "{}", "paycheckurl": "https://public.sdk.guangkatf.com/paycheck/confirm", "gameSimpleName": "1109"}