xuguohong

update

Showing 108 changed files with 358 additions and 388 deletions
No preview for this file type
......@@ -7,14 +7,13 @@
objects = {
/* Begin PBXBuildFile section */
1198207824454D980087A9D7 /* mhyd_config in Resources */ = {isa = PBXBuildFile; fileRef = 1198207724454D980087A9D7 /* mhyd_config */; };
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 */; };
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */ = {isa = PBXBuildFile; fileRef = 11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */; };
11EE79022420B11200D3AA75 /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 11EE79012420B11200D3AA75 /* SDKInterface.m */; };
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */; };
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; };
847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; };
8484E4F51EE7E0DC00B402D1 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */; };
8484E4F61EE7E0DC00B402D1 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8484E4F41EE7E0DC00B402D1 /* ViewController.m */; };
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E4FB1EE7E1D800B402D1 /* libsqlite3.dylib */; };
8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E4FD1EE7E1F700B402D1 /* CoreTelephony.framework */; };
8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E4FF1EE7E20C00B402D1 /* CFNetwork.framework */; };
......@@ -58,19 +57,17 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
1198207724454D980087A9D7 /* mhyd_config */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = mhyd_config; path = poolsdk_file/poolsdk/mhyd_config; sourceTree = "<group>"; };
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>"; };
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = sdk_float_logo.png; path = poolsdk_file/poolsdk/sdk_float_logo.png; sourceTree = "<group>"; };
11EE79002420B11200D3AA75 /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; };
11EE79012420B11200D3AA75 /* SDKInterface.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk/SDKInterface.m; sourceTree = "<group>"; };
269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = HaiBaoJuheSDK.framework; sourceTree = "<group>"; };
845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; };
845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; };
847EE5E01EE9007E003A4B7B /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; };
847EE5E11EE9007E003A4B7B /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; };
8484E4F11EE7E0DC00B402D1 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
8484E4F31EE7E0DC00B402D1 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
8484E4F41EE7E0DC00B402D1 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
8484E4FB1EE7E1D800B402D1 /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libsqlite3.dylib; path = ../../../../../../../../usr/lib/libsqlite3.dylib; sourceTree = "<group>"; };
8484E4FD1EE7E1F700B402D1 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
8484E4FF1EE7E20C00B402D1 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
......@@ -100,10 +97,10 @@
buildActionMask = 2147483647;
files = (
8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */,
269F653821B6613F006AEC88 /* HaiBaoJuheSDK.framework in Frameworks */,
8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib 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 */,
......@@ -138,12 +135,13 @@
8476DF641C4DD71D00EC42BA /* poolsdk */ = {
isa = PBXGroup;
children = (
11EE79002420B11200D3AA75 /* SDKInterface.h */,
11EE79012420B11200D3AA75 /* SDKInterface.m */,
1198207724454D980087A9D7 /* mhyd_config */,
1198207724454D980087A9D7 /* dyjxswx */,
11EE78FE241B85FE00D3AA75 /* sdk_float_logo.png */,
845D181B1C8D778400F27EB9 /* Images.xcassets */,
845D181C1C8D778400F27EB9 /* Info.plist */,
114D961224907F4400FFCEDF /* dyjxswx.framework */,
114D961324907F4400FFCEDF /* SDKInterface.h */,
114D961424907F4400FFCEDF /* SDKInterface.m */,
);
name = poolsdk;
sourceTree = "<group>";
......@@ -184,11 +182,8 @@
BB5F3C8A1C1811BC00DA339D /* Demo */ = {
isa = PBXGroup;
children = (
269F653721B6613F006AEC88 /* HaiBaoJuheSDK.framework */,
8484E4F11EE7E0DC00B402D1 /* AppDelegate.h */,
8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */,
8484E4F31EE7E0DC00B402D1 /* ViewController.h */,
8484E4F41EE7E0DC00B402D1 /* ViewController.m */,
847EE5E01EE9007E003A4B7B /* MainViewController.h */,
847EE5E11EE9007E003A4B7B /* MainViewController.m */,
BB5F3C951C1811BC00DA339D /* Main.storyboard */,
......@@ -309,7 +304,7 @@
files = (
11EE78FF241B85FE00D3AA75 /* sdk_float_logo.png in Resources */,
845D18221C8D778400F27EB9 /* Images.xcassets in Resources */,
1198207824454D980087A9D7 /* mhyd_config in Resources */,
1198207824454D980087A9D7 /* dyjxswx in Resources */,
BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
......@@ -328,11 +323,10 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
11EE79022420B11200D3AA75 /* SDKInterface.m in Sources */,
114D961624907F4400FFCEDF /* SDKInterface.m in Sources */,
8484E4F51EE7E0DC00B402D1 /* AppDelegate.m in Sources */,
847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */,
BB5F3C8E1C1811BC00DA339D /* main.m in Sources */,
8484E4F61EE7E0DC00B402D1 /* ViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......
......@@ -8,7 +8,7 @@
#import "AppDelegate.h"
#import "ViewController.h"
#import <HaiBaoJuheSDK/HaiBaoJuheSDK2.h>
#import <dyjxswx/HaiBaoJuheSDK2.h>
@interface AppDelegate ()
@end
......
#import <Foundation/Foundation.h>
extern NSString * const UrgesMoralesExitNotificationFarming;
extern NSString * const InningsMoralesLoginNotificationBlanket;
extern NSString * const SpringMoralesErrorNotificationPianist;
@interface SailorsMoralesHuiTiaoNotificationRocker : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface UrgesMoralesAllManagerFarming : NSObject
{
NSString* MoralesAPPID_;
NSString* MoralesAPPKEY_;
NSString* MoralesInviterCode_;
}
@property(strong) NSMutableArray* MoralesList;
@property bool MoralesGeiWoHuaQianBa;
+ (UrgesMoralesAllManagerFarming *)VerseMoralesInstanceSedan;
- (void)GenbankMoralesChuShiHuaPlano;
- (void)RevoltMoralesDengLuArchive:(NSString *)MoralesAPPID : (NSString *)MoralesAPPKEY : (UIViewController *)controller;
- (void)OvarianMoralesYangShiCrust:(NSString*)MoralesLeiXing;
- (void)OvarianMoralesUrlCrust:(NSString*)MoralesUrl;
- (void)MoralesQuery: (NSString *)MoralesFuWuQiID : (NSString *)MoralesNickName : (NSNumber *)MoralesAmount : (NSString *)MoralesCallBack : (UIViewController *)controller : (NSString *)MoralesServerName;
- (void)MoralesQueryOperation:(UIViewController*)controll MoralesHuoWuID:(NSString*)products MoralesJiaGe:(NSString*)amount MoralesHuoWuMing:(NSString*)productName MoralesDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface VerseMoralesIAPHelperControlSedan : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* MoralesDingDanHao;
@property(nonatomic,strong) NSDictionary* MoralesHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* MoralesHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *MoralesHuoWuLieBiaoView;
- (void)MoralesHuaQianView:(UIViewController*)controller MoralesHuoWuD:(NSString*)products MoralesQian:(NSString*)amount MoralesHuoWuMing:(NSString*)productName MoralesDingDanHao:(NSString*)DingDanHao;
@end
framework module HaiBaoJuheSDK {
umbrella header "HaiBaoJuheSDK.h"
export *
module * { export * }
}
......@@ -7,8 +7,7 @@
//
#import <UIKit/UIKit.h>
#import <HaiBaoJuheSDK/HaiBaoJuheSDK2.h>
#import <dyjxswx/HaiBaoJuheSDK2.h>
@interface MainViewController : UIViewController<HaiBaoJuheSdkRealNameCallBack>
@end
......
......@@ -7,7 +7,6 @@
//
#import "MainViewController.h"
#import <HaiBaoJuheSDK/HaiBaoJuheSDK2.h>
@interface MainViewController ()
......
......@@ -7,7 +7,7 @@
//
#import <UIKit/UIKit.h>
#import <HaiBaoJuheSDK/HaiBaoJuheSDK2.h>
//#import <HaiBaoJuheSDK/HaiBaoJuheSDK2.h>
@interface ViewController : UIViewController
- (void)receiveSDKMessage : (NSNotification *)notification;
......
#import "HaiBaoJuheSDK/HaiBaoJuheSDK2.h"
#import <dyjxswx/HaiBaoJuheSDK2.h>
@interface SDKInterface : Interface
@end
\ No newline at end of file
@end
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/UrgesMoralesAllManagerFarming.h"
#import "HaiBaoJuheSDK/SailorsMoralesHuiTiaoNotificationRocker.h"
#import "HaiBaoJuheSDK/GenbankMoralesInformationPlano.h"
#import "dyjxswx/SilentMenusAllManagerSongs.h"
#import "dyjxswx/RatingsMenusHuiTiaoNotificationDense.h"
#import "dyjxswx/HannahMenusInformationChateau.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *MoralesAppId;
NSString *MoralesAppKey;
NSString *MoralesLeakOrderUrl;
NSString *MenusAppId;
NSString *MenusAppKey;
NSString *MenusLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[InningsHaiBaoJuheConfigBlanket SpringgetInstancePianist];
[[UrgesMoralesAllManagerFarming VerseMoralesInstanceSedan]GenbankMoralesChuShiHuaPlano];
[[UrgesMoralesAllManagerFarming VerseMoralesInstanceSedan]OvarianMoralesYangShiCrust:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:InningsMoralesLoginNotificationBlanket object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MoralesToolCallBack" object:nil];
[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];
[[RafaelHaiBaoJuheCheckerHides ShemalegetInstanceDigging] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[InningsHaiBaoJuheConfigBlanket SpringgetInstancePianist] UrgesgetValueByKeyFarming:@"gamechannelid"];
NSString* channelId = [[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *MoralesLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
MoralesAppId = [[InningsHaiBaoJuheConfigBlanket SpringgetInstancePianist] UrgesgetValueByKeyFarming:@"APP_ID"];
MoralesAppKey =[[InningsHaiBaoJuheConfigBlanket SpringgetInstancePianist] UrgesgetValueByKeyFarming:@"APP_KEY"];
[[UrgesMoralesAllManagerFarming VerseMoralesInstanceSedan]RevoltMoralesDengLuArchive:MoralesAppId :MoralesAppKey :self.controller];
MenusAppId = [[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"APP_ID"];
MenusAppKey =[[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"APP_KEY"];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei]OvensMenusDengLuMadonna:MenusAppId :MenusAppKey :self.controller];
}
......@@ -50,10 +50,10 @@ NSString *MoralesLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[GenbankMoralesInformationPlano getInstance]openId];
loginInfo.sign = [[GenbankMoralesInformationPlano getInstance] token];
loginInfo.timestamp = [[GenbankMoralesInformationPlano getInstance] timestamp];
NSString *birthday = [[GenbankMoralesInformationPlano getInstance] birthday];
loginInfo.openId = [[HannahMenusInformationChateau getInstance]openId];
loginInfo.sign = [[HannahMenusInformationChateau getInstance] token];
loginInfo.timestamp = [[HannahMenusInformationChateau getInstance] timestamp];
NSString *birthday = [[HannahMenusInformationChateau getInstance] birthday];
self.birthday = birthday;
if([birthday length] == 8){//已认证
self.code = ALREADY_VERIFY;
......@@ -61,9 +61,8 @@ NSString *MoralesLeakOrderUrl;
self.code = NO_VERIFY_HANDLER;
};
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[RafaelHaiBaoJuheCheckerHides ShemalegetInstanceDigging] startCheck:loginInfo];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] startCheck:loginInfo];
});
}
......@@ -85,7 +84,7 @@ NSString *MoralesLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"MoralesToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"MenusToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -104,10 +103,10 @@ NSString *MoralesLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MoralesLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MenusLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[RafaelHaiBaoJuheCheckerHides ShemalegetInstanceDigging] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -125,11 +124,11 @@ NSString *MoralesLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
MoralesLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[FrostHaiBaoJuheUtilsCurious InningscreateGzyazfUrlBlanket],
MenusLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:MoralesLeakOrderUrl forKey:@"lastMoralesLeakOrderUrl"];
[userDefaults setObject:MenusLeakOrderUrl forKey:@"lastMenusLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -139,7 +138,7 @@ NSString *MoralesLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MoralesLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MenusLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -149,8 +148,8 @@ NSString *MoralesLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
MoralesLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[FrostHaiBaoJuheUtilsCurious InningscreateGzyazfUrlBlanket],
MenusLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -195,7 +194,7 @@ NSString *MoralesLeakOrderUrl;
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[RafaelHaiBaoJuheCheckerHides ShemalegetInstanceDigging] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -221,12 +220,12 @@ NSString *MoralesLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastMoralesLeakOrderUrl = [userDefaults objectForKey:@"lastMoralesLeakOrderUrl"];
NSString* lastMenusLeakOrderUrl = [userDefaults objectForKey:@"lastMenusLeakOrderUrl"];
NSString* result;
if (lastMoralesLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastMoralesLeakOrderUrl :receiptDic];
if (lastMenusLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastMenusLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[FrostHaiBaoJuheUtilsCurious InningscreateGzyazfUrlBlanket] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -248,7 +247,7 @@ NSString *MoralesLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
InningsHaiBaoJuheGzyazfInfoBlanket *payInfo = [notification object];
ButterHaiBaoJuheGzyazfInfoNested *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -259,13 +258,18 @@ NSString *MoralesLeakOrderUrl;
[self handlerLeakOrder];
});
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei] MenusQuery: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];
[[UrgesMoralesAllManagerFarming VerseMoralesInstanceSedan] MoralesQueryOperation:self.controller MoralesHuoWuID:products MoralesJiaGe:[payInfo postAmount] MoralesHuoWuMing:[payInfo productName] MoralesDingDanHao:queryId];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei] MenusQueryOperation:self.controller MenusHuoWuID:products MenusJiaGe:[payInfo postAmount] MenusHuoWuMing:[payInfo productName] MenusDingDanHao:queryId];
}
}
@end
......
{"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>
@interface InningsMoralesControlBlanket : NSObject
@interface BathsMenusControlZambia : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface OvarianMoralesInformationJMCrust : NSObject
@interface BathsMenusInformationJMZambia : NSObject
+(NSString *)MoralesJM:(NSString *)jm;
+(NSString *)MenusJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface InningsHaiBaoJuheConfigBlanket : NSObject
@interface ButterHaiBaoJuheConfigNested : 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;
+ (InningsHaiBaoJuheConfigBlanket *)SpringgetInstancePianist;
+ (ButterHaiBaoJuheConfigNested *)CommongetInstanceKinase;
- (void) loadFile:(NSString *) fileName;
- (NSString *)UrgesgetValueByKeyFarming:(NSString *) key;
- (NSString *)SilentgetValueByKeySongs:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "SpringMoralesHaiBaoJuheBaseModelPianist.h"
@interface InningsHaiBaoJuheGzyazfInfoBlanket : SpringMoralesHaiBaoJuheBaseModelPianist
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface ButterHaiBaoJuheGzyazfInfoNested : CommonMenusHaiBaoJuheBaseModelKinase
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// InningsHaiBaoJuheNotificationBlanket.h
// ButterHaiBaoJuheNotificationNested.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -29,7 +29,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface InningsHaiBaoJuheNotificationBlanket : NSObject
@interface ButterHaiBaoJuheNotificationNested : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface OvarianMoralesControlCrust : NSObject
@interface ButterMenusControlNested : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface FrostHaiBaoJuheUtilsCurious : NSObject
@interface ChannelHaiBaoJuheUtilsNausea : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) MoralesHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) MenusHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)InningscreateGzyazfUrlBlanket;
+(NSString *)ButtercreateGzyazfUrlNested;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "GenbankMoralesInformationPlano.h"
#import "HannahMenusInformationChateau.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface FrostMoralesMainCurious : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface ChannelMenusMainNausea : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webMoralesView_;
WKWebView *webMenusView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL MoralesYouYuanJiao;
@property(assign) BOOL MenusYouYuanJiao;
- (void)MoralesSettingMoralesView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MoralesInitWebView;
- (void)MenusSettingMenusView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MenusInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface SpringMoralesEncryptToolPianist : NSObject
@interface CommonMenusEncryptToolKinase : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface SpringMoralesHaiBaoJuheBaseModelPianist : NSObject
@interface CommonMenusHaiBaoJuheBaseModelKinase : NSObject
- (NSString *) MoralesHaiBaoJuheObjectToJsonString;
- (NSString *) MenusHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import "SpringMoralesHaiBaoJuheBaseModelPianist.h"
@interface HaiBaoJuheCreateOrderInfo : SpringMoralesHaiBaoJuheBaseModelPianist
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheCreateOrderInfo : CommonMenusHaiBaoJuheBaseModelKinase
@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 *) MoralesHaiBaoJuheGetTsign ;
- (NSString *) MoralesHaiBaoJuheGetTimestamp ;
- (NSString *) MenusHaiBaoJuheGetTsign ;
- (NSString *) MenusHaiBaoJuheGetTimestamp ;
@end
......
#import "SpringMoralesHaiBaoJuheBaseModelPianist.h"
@interface HaiBaoJuheLoginInfo : SpringMoralesHaiBaoJuheBaseModelPianist
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheLoginInfo : CommonMenusHaiBaoJuheBaseModelKinase
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// MoralesHaiBaoJuheReportInfo.h
// MenusHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "SpringMoralesHaiBaoJuheBaseModelPianist.h"
@interface HaiBaoJuheReportInfo : SpringMoralesHaiBaoJuheBaseModelPianist
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheReportInfo : CommonMenusHaiBaoJuheBaseModelKinase
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......@@ -30,10 +30,6 @@
@property(nonatomic, strong)NSString *openId;
//#define REPORT_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/statistic"
//#define REPORT_IDFA_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/last_channel?idfa=%@&sdkSimpleName=%@&gameSimpleName=%@"
#define REPORT_OPEN @"open"
#define REPORT_ENTER @"enter"
#define REPORT_CREATEROLE @"createrole"
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheSDK2.h"
#import <UIKit/UIKit.h>
@interface HaiBaoJuheSDK : NSObject
......@@ -10,7 +9,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* MoralesList;
@property(strong) NSMutableArray* MenusList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "HaiBaoRealNameVerifyCallback.h"
#import "RafaelHaiBaoJuheCheckerHides.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "HamasHaiBaoJuheCheckerMariner.h"
#import "Interface.h"
#import "InningsHaiBaoJuheNotificationBlanket.h"
#import "InningsHaiBaoJuheGzyazfInfoBlanket.h"
#import "ButterHaiBaoJuheNotificationNested.h"
#import "ButterHaiBaoJuheGzyazfInfoNested.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "InningsHaiBaoJuheConfigBlanket.h"
#import "FrostHaiBaoJuheUtilsCurious.h"
#import "ButterHaiBaoJuheConfigNested.h"
#import "ChannelHaiBaoJuheUtilsNausea.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "InningsHaiBaoJuheNotificationBlanket.h"
#import "ButterHaiBaoJuheNotificationNested.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "InningsHaiBaoJuheGzyazfInfoBlanket.h"
#import "ButterHaiBaoJuheGzyazfInfoNested.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface RafaelHaiBaoJuheCheckerHides : NSObject<HaiBaoJuheSDKDelegate>
@interface HamasHaiBaoJuheCheckerMariner : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (RafaelHaiBaoJuheCheckerHides *)ShemalegetInstanceDigging;
+ (HamasHaiBaoJuheCheckerMariner *)PierregetInstanceTimber;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) MoralesHaiBaoJuhereportOpen;
- (void) MoralesHaiBaoJuhereportSDKOpen;
- (void) MoralesHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) MenusHaiBaoJuhereportOpen;
- (void) MenusHaiBaoJuhereportSDKOpen;
- (void) MenusHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) MoralesHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) MenusHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) MoralesHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) MenusHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface RafaelMoralesLocationHides : NSObject
@interface HamasMenusLocationMariner : NSObject
+ (NSString *)MoralesSKCloudServiceSetupOptionsKey;
+ (NSString *)MenusSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
@interface GenbankMoralesInformationPlano : NSObject
{
//
NSString *openId;
NSString *token;
NSString *timestamp;
}
@interface HannahMenusInformationChateau : NSObject
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
@property(retain,nonatomic) NSString *birthday;
+ (GenbankMoralesInformationPlano *)getInstance;
+ (HannahMenusInformationChateau *)getInstance;
@end
......
......@@ -10,6 +10,4 @@
#include "UnionInterface.h"
@interface Interface : NSObject <UnionInterface>
@property(nonatomic, strong)UIViewController *controller;
@end
......
#import <Foundation/Foundation.h>
@interface RevoltMoralesControlArchive : NSObject
@interface OvensMenusControlMadonna : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SailorsMoralesControlRocker : NSObject
@interface PierreMenusControlTimber : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface ShemaleMoralesControlDigging : NSObject
@interface RatingsMenusControlDense : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@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
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface UrgesMoralesHaiBaoJuheDGLoggerFarming : NSObject
@interface SilentMenusHaiBaoJuheDGLoggerSongs : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#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 <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK2.h"
@protocol UnionInterface
@property RealNameVerifyCode code;
......@@ -140,3 +140,7 @@
*/
- (void)showRealNameVerifyView;
@end
......
#import <Foundation/Foundation.h>
extern NSString * const UrgesMoralesExitNotificationFarming;
extern NSString * const InningsMoralesLoginNotificationBlanket;
extern NSString * const SpringMoralesErrorNotificationPianist;
@interface SailorsMoralesHuiTiaoNotificationRocker : NSObject
@end
#import <UIKit/UIKit.h>
#import "StoreKit/StoreKit.h"
@interface UrgesMoralesAllManagerFarming : NSObject
{
NSString* MoralesAPPID_;
NSString* MoralesAPPKEY_;
NSString* MoralesInviterCode_;
}
@property(strong) NSMutableArray* MoralesList;
@property bool MoralesGeiWoHuaQianBa;
+ (UrgesMoralesAllManagerFarming *)VerseMoralesInstanceSedan;
- (void)GenbankMoralesChuShiHuaPlano;
- (void)RevoltMoralesDengLuArchive:(NSString *)MoralesAPPID : (NSString *)MoralesAPPKEY : (UIViewController *)controller;
- (void)OvarianMoralesYangShiCrust:(NSString*)MoralesLeiXing;
- (void)OvarianMoralesUrlCrust:(NSString*)MoralesUrl;
- (void)MoralesQuery: (NSString *)MoralesFuWuQiID : (NSString *)MoralesNickName : (NSNumber *)MoralesAmount : (NSString *)MoralesCallBack : (UIViewController *)controller : (NSString *)MoralesServerName;
- (void)MoralesQueryOperation:(UIViewController*)controll MoralesHuoWuID:(NSString*)products MoralesJiaGe:(NSString*)amount MoralesHuoWuMing:(NSString*)productName MoralesDingDanHao:(NSString*) DingDanHao;
@end
#import <UIKit/UIKit.h>
@interface VerseMoralesIAPHelperControlSedan : NSObject<UITableViewDelegate, UITableViewDataSource>
@property(nonatomic,strong) NSString* MoralesDingDanHao;
@property(nonatomic,strong) NSDictionary* MoralesHuoWuLieBiao;
@property(nonatomic,strong) NSMutableArray* MoralesHuoWuIDLieBiao;
@property(nonatomic, strong) UITableView *MoralesHuoWuLieBiaoView;
- (void)MoralesHuaQianView:(UIViewController*)controller MoralesHuoWuD:(NSString*)products MoralesQian:(NSString*)amount MoralesHuoWuMing:(NSString*)productName MoralesDingDanHao:(NSString*)DingDanHao;
@end
framework module HaiBaoJuheSDK {
umbrella header "HaiBaoJuheSDK.h"
export *
module * { export * }
}
#import <Foundation/Foundation.h>
@interface InningsMoralesControlBlanket : NSObject
@interface BathsMenusControlZambia : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface OvarianMoralesInformationJMCrust : NSObject
@interface BathsMenusInformationJMZambia : NSObject
+(NSString *)MoralesJM:(NSString *)jm;
+(NSString *)MenusJM:(NSString *)jm;
@end
......
#import <Foundation/Foundation.h>
@interface InningsHaiBaoJuheConfigBlanket : NSObject
@interface ButterHaiBaoJuheConfigNested : 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;
+ (InningsHaiBaoJuheConfigBlanket *)SpringgetInstancePianist;
+ (ButterHaiBaoJuheConfigNested *)CommongetInstanceKinase;
- (void) loadFile:(NSString *) fileName;
- (NSString *)UrgesgetValueByKeyFarming:(NSString *) key;
- (NSString *)SilentgetValueByKeySongs:(NSString *) key;
- (void) updateC1C2Value:(NSString *)c1 c2:(NSString *)c2;
......
#import "SpringMoralesHaiBaoJuheBaseModelPianist.h"
@interface InningsHaiBaoJuheGzyazfInfoBlanket : SpringMoralesHaiBaoJuheBaseModelPianist
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface ButterHaiBaoJuheGzyazfInfoNested : CommonMenusHaiBaoJuheBaseModelKinase
@property(nonatomic, strong)NSString *serverId;
@property(nonatomic, strong)NSString *queryId;
......
//
// InningsHaiBaoJuheNotificationBlanket.h
// ButterHaiBaoJuheNotificationNested.h
// public_i9133
//
// Created by winFan on 12/1/15.
......@@ -29,7 +29,7 @@ typedef NS_ENUM(int, HaiBaoJuheSDKNotificationType) {
@interface InningsHaiBaoJuheNotificationBlanket : NSObject
@interface ButterHaiBaoJuheNotificationNested : NSObject
@end
......
#import <Foundation/Foundation.h>
@interface OvarianMoralesControlCrust : NSObject
@interface ButterMenusControlNested : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface FrostHaiBaoJuheUtilsCurious : NSObject
@interface ChannelHaiBaoJuheUtilsNausea : NSObject
+(NSString *)md5:(NSString *)str;
+ (NSDictionary *) MoralesHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+ (NSDictionary *) MenusHaiBaoJuheDictionaryWithJsonString:(NSString *)jsonString;
+(NSString *)createGzyazfOrderUrl;
//*充值回调地址
+(NSString *)InningscreateGzyazfUrlBlanket;
+(NSString *)ButtercreateGzyazfUrlNested;
+(UIActivityIndicatorView *)showLoadingDialog:(UIView*)parentView;
+(void)dismissLoadingDialog:(UIActivityIndicatorView*)indicatorView;
......
#import <UIKit/UIKit.h>
#import "GenbankMoralesInformationPlano.h"
#import "HannahMenusInformationChateau.h"
#import <JavaScriptCore/JavaScriptCore.h>
#import <WebKit/WebKit.h>
@interface FrostMoralesMainCurious : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
@interface ChannelMenusMainNausea : UIViewController<WKNavigationDelegate,WKScriptMessageHandler>
{
WKWebView *webMoralesView_;
WKWebView *webMenusView_;
UIActivityIndicatorView *activityIndicator;
}
@property(assign) BOOL MoralesYouYuanJiao;
@property(assign) BOOL MenusYouYuanJiao;
- (void)MoralesSettingMoralesView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MoralesInitWebView;
- (void)MenusSettingMenusView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight;
- (void)MenusInitWebView;
- (void)loadWebPageWithString:(NSString *)url;
- (void)loadWebPageWithJs:(NSString *)content;
- (void)postNotification:(NSString *)name : (NSString *)code;
......
......@@ -2,7 +2,7 @@
NS_ASSUME_NONNULL_BEGIN
@interface SpringMoralesEncryptToolPianist : NSObject
@interface CommonMenusEncryptToolKinase : NSObject
+ (NSString *)base64EncodedStringWithWrapWidth:(NSUInteger)wrapWidth withData:(NSData *)argData;
......
#import <Foundation/Foundation.h>
#import "OtherSetting.h"
@interface SpringMoralesHaiBaoJuheBaseModelPianist : NSObject
@interface CommonMenusHaiBaoJuheBaseModelKinase : NSObject
- (NSString *) MoralesHaiBaoJuheObjectToJsonString;
- (NSString *) MenusHaiBaoJuheObjectToJsonString;
- (NSMutableString *)paramAddToString;
- (id)initWithDiction:(NSDictionary *)diction;
......
#import "SpringMoralesHaiBaoJuheBaseModelPianist.h"
@interface HaiBaoJuheCreateOrderInfo : SpringMoralesHaiBaoJuheBaseModelPianist
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheCreateOrderInfo : CommonMenusHaiBaoJuheBaseModelKinase
@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 *) MoralesHaiBaoJuheGetTsign ;
- (NSString *) MoralesHaiBaoJuheGetTimestamp ;
- (NSString *) MenusHaiBaoJuheGetTsign ;
- (NSString *) MenusHaiBaoJuheGetTimestamp ;
@end
......
#import "SpringMoralesHaiBaoJuheBaseModelPianist.h"
@interface HaiBaoJuheLoginInfo : SpringMoralesHaiBaoJuheBaseModelPianist
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheLoginInfo : CommonMenusHaiBaoJuheBaseModelKinase
@property(nonatomic,strong)NSString *timestamp;
@property(nonatomic, strong)NSString *sign;
......
//
// MoralesHaiBaoJuheReportInfo.h
// MenusHaiBaoJuheReportInfo.h
// HaiBaoJuheSDK
//
// Created by winFan on 12/21/15.
// Copyright (c) 2015 winFan. All rights reserved.
//
#import "SpringMoralesHaiBaoJuheBaseModelPianist.h"
@interface HaiBaoJuheReportInfo : SpringMoralesHaiBaoJuheBaseModelPianist
#import "CommonMenusHaiBaoJuheBaseModelKinase.h"
@interface HaiBaoJuheReportInfo : CommonMenusHaiBaoJuheBaseModelKinase
@property(nonatomic, strong)NSString *reportType;//类型
@property(nonatomic, strong)NSString *playerId;//玩家ID
......@@ -30,10 +30,6 @@
@property(nonatomic, strong)NSString *openId;
//#define REPORT_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/statistic"
//#define REPORT_IDFA_URL @"https://statistic.public.sdk.haibaoyouxi.com/sdk/last_channel?idfa=%@&sdkSimpleName=%@&gameSimpleName=%@"
#define REPORT_OPEN @"open"
#define REPORT_ENTER @"enter"
#define REPORT_CREATEROLE @"createrole"
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheSDK2.h"
#import <UIKit/UIKit.h>
@interface HaiBaoJuheSDK : NSObject
......@@ -10,7 +9,7 @@
@property(nonatomic, strong)NSString *urlSchemes;
@property(strong) NSMutableArray* MoralesList;
@property(strong) NSMutableArray* MenusList;
@property BOOL isAppleGzyazfing;
......
#import <UIKit/UIKit.h>
#import "HaiBaoRealNameVerifyCallback.h"
#import "RafaelHaiBaoJuheCheckerHides.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheLoginInfo.h"
#import "HamasHaiBaoJuheCheckerMariner.h"
#import "Interface.h"
#import "InningsHaiBaoJuheNotificationBlanket.h"
#import "InningsHaiBaoJuheGzyazfInfoBlanket.h"
#import "ButterHaiBaoJuheNotificationNested.h"
#import "ButterHaiBaoJuheGzyazfInfoNested.h"
#import "UnionInterface.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "InningsHaiBaoJuheConfigBlanket.h"
#import "FrostHaiBaoJuheUtilsCurious.h"
#import "ButterHaiBaoJuheConfigNested.h"
#import "ChannelHaiBaoJuheUtilsNausea.h"
#import "NetCenter.h"
#import "HaiBaoJuheSDK.h"
#import "HaiBaoJuheSDKDelegate.h"
......
#import <Foundation/Foundation.h>
#import "HaiBaoJuheLoginInfo.h"
#import "InningsHaiBaoJuheNotificationBlanket.h"
#import "ButterHaiBaoJuheNotificationNested.h"
#import "HaiBaoJuheCreateOrderInfo.h"
#import "InningsHaiBaoJuheGzyazfInfoBlanket.h"
#import "ButterHaiBaoJuheGzyazfInfoNested.h"
#import "HaiBaoJuheReportInfo.h"
#import "HaiBaoJuheSDKDelegate.h"
@interface RafaelHaiBaoJuheCheckerHides : NSObject<HaiBaoJuheSDKDelegate>
@interface HamasHaiBaoJuheCheckerMariner : NSObject<HaiBaoJuheSDKDelegate>
@property(nonatomic, strong)NSString *userId;
@property(nonatomic, strong)id<HaiBaoJuheSDKDelegate> mHaiBaoJuheSDKDelegate;
@property bool onlyOneTimeGzyazf;
+ (RafaelHaiBaoJuheCheckerHides *)ShemalegetInstanceDigging;
+ (HamasHaiBaoJuheCheckerMariner *)PierregetInstanceTimber;
- (void)initChecker;
- (void)startCheck:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) createOrder:(HaiBaoJuheCreateOrderInfo *)gzyazfInfo;
- (void) MoralesHaiBaoJuhereportOpen;
- (void) MoralesHaiBaoJuhereportSDKOpen;
- (void) MoralesHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) MenusHaiBaoJuhereportOpen;
- (void) MenusHaiBaoJuhereportSDKOpen;
- (void) MenusHaiBaoJuhehandleFirstOpenApp:(NSString*) path;
- (void) reportEnter:(HaiBaoJuheReportInfo *)reInfo;
- (void) MoralesHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void) MenusHaiBaoJuheReport:(NSString *)_action :(HaiBaoJuheReportInfo *)reInfo;
- (void)sendNotice:(HaiBaoJuheSDKNotificationType)notiType
notiName:(NSString *)notiName
statusCode:(int)nCode
......@@ -28,7 +28,7 @@
- (void)startCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo;
- (void) MoralesHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
- (void) MenusHaiBaoJuheStartCheckDelegate:(HaiBaoJuheLoginInfo *)loginInfo type:(int)type;
/*
*初始化时调用
......
#import <UIKit/UIKit.h>
@interface RafaelMoralesLocationHides : NSObject
@interface HamasMenusLocationMariner : NSObject
+ (NSString *)MoralesSKCloudServiceSetupOptionsKey;
+ (NSString *)MenusSKCloudServiceSetupOptionsKey;
@end
......
#import <Foundation/Foundation.h>
@interface GenbankMoralesInformationPlano : NSObject
{
//
NSString *openId;
NSString *token;
NSString *timestamp;
}
@interface HannahMenusInformationChateau : NSObject
@property(retain,nonatomic) NSString *openId;
@property(retain,nonatomic) NSString *token;
@property(retain,nonatomic) NSString *timestamp;
@property(retain,nonatomic) NSString *birthday;
+ (GenbankMoralesInformationPlano *)getInstance;
+ (HannahMenusInformationChateau *)getInstance;
@end
......
......@@ -10,6 +10,4 @@
#include "UnionInterface.h"
@interface Interface : NSObject <UnionInterface>
@property(nonatomic, strong)UIViewController *controller;
@end
......
#import <Foundation/Foundation.h>
@interface RevoltMoralesControlArchive : NSObject
@interface OvensMenusControlMadonna : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface SailorsMoralesControlRocker : NSObject
@interface PierreMenusControlTimber : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@property(strong) NSMutableArray* myarray;
......
#import <Foundation/Foundation.h>
@interface ShemaleMoralesControlDigging : NSObject
@interface RatingsMenusControlDense : NSObject
- (void)initMoralesInstance;
- (void)initMenusInstance;
- (void) MoralesStartGo;
- (void) MenusStartGo;
@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
......@@ -11,7 +11,7 @@ typedef NS_ENUM(NSInteger, DGLoggerLevel)
ELogError
};
@interface UrgesMoralesHaiBaoJuheDGLoggerFarming : NSObject
@interface SilentMenusHaiBaoJuheDGLoggerSongs : NSObject
+ (void)showLog:(NSString *)fmt,...;
......
#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 <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK2.h"
@protocol UnionInterface
@property RealNameVerifyCode code;
......@@ -140,3 +140,7 @@
*/
- (void)showRealNameVerifyView;
@end
......
No preview for this file type
#import "HaiBaoJuheSDK/HaiBaoJuheSDK2.h"
#import <dyjxswx/HaiBaoJuheSDK2.h>
@interface SDKInterface : Interface
@end
\ No newline at end of file
@end
......
#include "SDKInterface.h"
#import <UIKit/UIKit.h>
#import "HaiBaoJuheSDK/UrgesMoralesAllManagerFarming.h"
#import "HaiBaoJuheSDK/SailorsMoralesHuiTiaoNotificationRocker.h"
#import "HaiBaoJuheSDK/GenbankMoralesInformationPlano.h"
#import "dyjxswx/SilentMenusAllManagerSongs.h"
#import "dyjxswx/RatingsMenusHuiTiaoNotificationDense.h"
#import "dyjxswx/HannahMenusInformationChateau.h"
@implementation SDKInterface : Interface
int mExchange;
NSString *MoralesAppId;
NSString *MoralesAppKey;
NSString *MoralesLeakOrderUrl;
NSString *MenusAppId;
NSString *MenusAppKey;
NSString *MenusLeakOrderUrl;
- (void)SDKinit:(UIViewController *) control
{
[super SDKinit:control];
[InningsHaiBaoJuheConfigBlanket SpringgetInstancePianist];
[[UrgesMoralesAllManagerFarming VerseMoralesInstanceSedan]GenbankMoralesChuShiHuaPlano];
[[UrgesMoralesAllManagerFarming VerseMoralesInstanceSedan]OvarianMoralesYangShiCrust:@"sdk"];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:InningsMoralesLoginNotificationBlanket object:nil];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(HCKAssetsToolCallBack:) name:@"MoralesToolCallBack" object:nil];
[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];
[[RafaelHaiBaoJuheCheckerHides ShemalegetInstanceDigging] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"initSuccess" extendData:nil];
NSString* channelId = [[InningsHaiBaoJuheConfigBlanket SpringgetInstancePianist] UrgesgetValueByKeyFarming:@"gamechannelid"];
NSString* channelId = [[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"gamechannelid"];
if(channelId == nil || [channelId length] <= 0){
channelId = @"unknown";
}
......@@ -37,9 +37,9 @@ NSString *MoralesLeakOrderUrl;
- (void)SDKloginSDK
{
//APPID APPKEY
MoralesAppId = [[InningsHaiBaoJuheConfigBlanket SpringgetInstancePianist] UrgesgetValueByKeyFarming:@"APP_ID"];
MoralesAppKey =[[InningsHaiBaoJuheConfigBlanket SpringgetInstancePianist] UrgesgetValueByKeyFarming:@"APP_KEY"];
[[UrgesMoralesAllManagerFarming VerseMoralesInstanceSedan]RevoltMoralesDengLuArchive:MoralesAppId :MoralesAppKey :self.controller];
MenusAppId = [[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"APP_ID"];
MenusAppKey =[[ButterHaiBaoJuheConfigNested CommongetInstanceKinase] SilentgetValueByKeySongs:@"APP_KEY"];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei]OvensMenusDengLuMadonna:MenusAppId :MenusAppKey :self.controller];
}
......@@ -50,10 +50,10 @@ NSString *MoralesLeakOrderUrl;
{
NSLog(@"loginchek");
HaiBaoJuheLoginInfo *loginInfo = [HaiBaoJuheLoginInfo alloc];
loginInfo.openId = [[GenbankMoralesInformationPlano getInstance]openId];
loginInfo.sign = [[GenbankMoralesInformationPlano getInstance] token];
loginInfo.timestamp = [[GenbankMoralesInformationPlano getInstance] timestamp];
NSString *birthday = [[GenbankMoralesInformationPlano getInstance] birthday];
loginInfo.openId = [[HannahMenusInformationChateau getInstance]openId];
loginInfo.sign = [[HannahMenusInformationChateau getInstance] token];
loginInfo.timestamp = [[HannahMenusInformationChateau getInstance] timestamp];
NSString *birthday = [[HannahMenusInformationChateau getInstance] birthday];
self.birthday = birthday;
if([birthday length] == 8){//已认证
self.code = ALREADY_VERIFY;
......@@ -61,9 +61,8 @@ NSString *MoralesLeakOrderUrl;
self.code = NO_VERIFY_HANDLER;
};
dispatch_async(dispatch_get_global_queue(0, 0), ^{
[[RafaelHaiBaoJuheCheckerHides ShemalegetInstanceDigging] startCheck:loginInfo];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] startCheck:loginInfo];
});
}
......@@ -85,7 +84,7 @@ NSString *MoralesLeakOrderUrl;
- (void)HCKAssetsToolCallBack:(NSNotification *)notification
{
NSDictionary* payResultDic = notification.object;
NSString* receiptStr = [payResultDic objectForKey:@"MoralesToolResult"];
NSString* receiptStr = [payResultDic objectForKey:@"MenusToolResult"];
NSString* queryId = [payResultDic objectForKey:@"query_id"];
//收到回调,保存queryid和data
......@@ -104,10 +103,10 @@ NSString *MoralesLeakOrderUrl;
[userDefaults setObject:receiptStr forKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MoralesLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MenusLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
[[RafaelHaiBaoJuheCheckerHides ShemalegetInstanceDigging] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationGzyazf notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
//删除已保存的
[userDefaults removeObjectForKey:queryId];
[tempQueryIdArray removeObject:queryId];
......@@ -125,11 +124,11 @@ NSString *MoralesLeakOrderUrl;
NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults];
NSString* lastqueryid = [userDefaults objectForKey:@"lastqueryid"];
MoralesLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[FrostHaiBaoJuheUtilsCurious InningscreateGzyazfUrlBlanket],
MenusLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested],
[payInfo userId],
[payInfo playerId]];
[userDefaults setObject:MoralesLeakOrderUrl forKey:@"lastMoralesLeakOrderUrl"];
[userDefaults setObject:MenusLeakOrderUrl forKey:@"lastMenusLeakOrderUrl"];
if (lastqueryid!=nil) {
//创建订单前进行补单
......@@ -139,7 +138,7 @@ NSString *MoralesLeakOrderUrl;
receiptStr = [receiptStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
//如果不为空,进行最后一次补单
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",lastqueryid,@"query_id", nil];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MoralesLeakOrderUrl :receiptDic];
NSString* result = [[NetCenter getInstance] httpPostSynFillOD:MenusLeakOrderUrl :receiptDic];
if([@"success" isEqualToString:result]){//确认订单成功
//删除已保存的
[userDefaults removeObjectForKey:@"lastqueryid"];
......@@ -149,8 +148,8 @@ NSString *MoralesLeakOrderUrl;
mExchange = [payInfo exchange].intValue;
[super SDKgzyazfWithGzyazfmentInfo:payInfo];
MoralesLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[FrostHaiBaoJuheUtilsCurious InningscreateGzyazfUrlBlanket],
MenusLeakOrderUrl = [[NSString alloc] initWithFormat:@"%@?uid=%@&playerid=%@",
[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested],
[payInfo userId],
[payInfo playerId]];
[userDefaults synchronize];
......@@ -195,7 +194,7 @@ NSString *MoralesLeakOrderUrl;
- (void)SDKlogoutSDK
{
NSLog(@"切换账号");
[[RafaelHaiBaoJuheCheckerHides ShemalegetInstanceDigging] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
[[HamasHaiBaoJuheCheckerMariner PierregetInstanceTimber] sendNotice:HaiBaoJuheSDKNotificationLogout notiName:@"success" statusCode:HaiBaoJuheSDK_NO_ERROR description:@"success" extendData:nil];
}
- (void)handleOpenurl:(NSURL *)url
......@@ -221,12 +220,12 @@ NSString *MoralesLeakOrderUrl;
for (NSString* queryId in queryIdArray) {
NSString* receiptStr = [userDefaults valueForKey:queryId];
NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil];
NSString* lastMoralesLeakOrderUrl = [userDefaults objectForKey:@"lastMoralesLeakOrderUrl"];
NSString* lastMenusLeakOrderUrl = [userDefaults objectForKey:@"lastMenusLeakOrderUrl"];
NSString* result;
if (lastMoralesLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastMoralesLeakOrderUrl :receiptDic];
if (lastMenusLeakOrderUrl!=nil) {
result = [[NetCenter getInstance] httpPostSynFillOD:lastMenusLeakOrderUrl :receiptDic];
}else{
result = [[NetCenter getInstance] httpPostSynFillOD:[FrostHaiBaoJuheUtilsCurious InningscreateGzyazfUrlBlanket] :receiptDic];
result = [[NetCenter getInstance] httpPostSynFillOD:[ChannelHaiBaoJuheUtilsNausea ButtercreateGzyazfUrlNested] :receiptDic];
}
if([@"success" isEqualToString:result]){//成功
[userDefaults removeObjectForKey:queryId];
......@@ -248,7 +247,7 @@ NSString *MoralesLeakOrderUrl;
- (void)receiveCreateOrder:(NSNotification *)notification
{
NSLog(@"创建订单成功");
InningsHaiBaoJuheGzyazfInfoBlanket *payInfo = [notification object];
ButterHaiBaoJuheGzyazfInfoNested *payInfo = [notification object];
NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange);
NSString *serverId = [payInfo serverId];
......@@ -259,13 +258,18 @@ NSString *MoralesLeakOrderUrl;
[self handlerLeakOrder];
});
NSString *other = [payInfo other];
if (other && [other length] > 0) {
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei] MenusQuery: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];
[[UrgesMoralesAllManagerFarming VerseMoralesInstanceSedan] MoralesQueryOperation:self.controller MoralesHuoWuID:products MoralesJiaGe:[payInfo postAmount] MoralesHuoWuMing:[payInfo productName] MoralesDingDanHao:queryId];
[[SilentMenusAllManagerSongs SonomaMenusInstanceBrunei] MenusQueryOperation:self.controller MenusHuoWuID:products MenusJiaGe:[payInfo postAmount] MenusHuoWuMing:[payInfo productName] MenusDingDanHao:queryId];
}
}
@end
......
{"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"}